Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Unique campaign ID or name of the loyalty campaign. You can either pass the campaign ID, which was assigned by Voucherify, or the name
of the campaign as the path parameter value, e.g., Loyalty%20Campaign
.
"camp_rRsfatlwN7unSeUIJDCYedal"
Query Parameters
Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
1 <= x <= 100
Which page of results to return. The lowest value is 1
.
1 <= x <= 100
A unique reward assignment ID.
"rewa_m9hEAu10KsPcLhGXiHG85aY0"
Response
Returns a dictionary with reward assignment objects.
Response body schema for GET v1/loyalties/{campaignId}/rewards
.
The type of the object represented by JSON. This object stores information about loyalty reward assignments in a dictionary.
list
Identifies the name of the attribute that contains the array of reward assignment objects.
Contains array of reward assignment objects.
Total number of reward assignment objects.