Loyalties
Update Campaign Reward Assignment
Updates rewards parameters, i.e. the points cost for the specific reward.
put/v1/loyalties/{campaignId}/rewards/{assignmentId}
Request
- Base URLhttps://api.voucherify.io
- URLhttps://api.voucherify.io/v1/loyalties/{campaignId}/rewards/{assignmentId}
- Auth
- API key in header X-App-Id and API key in header X-App-Token
- or OAuth 2Implicit: https://api.voucherify.io/v1/oauth/tokenScopes: api, loyalties
Request body
Response
Returns a reward assignment with an updated points value.
Example response
{
"id": "rewa_PbIRoMXpwe5QhobW4JKu0VjH",
"reward_id": "rew_C7wS9eHFDN4CIbXI5PpLSkGY",
"created_at": "2022-08-11T14:49:22.586Z",
"updated_at": "2022-08-11T16:01:34.885Z",
"related_object_id": "camp_wciTvaOfYmAa3EmIIW3QpXXZ"
}Changes
No recorded changes to this operation across all 1 revision of this API.