Returns active rewards from a given loyalty campaign.
The access token received from the authorization server in the OAuth 2.0 flow.
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"
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 <= 100Which page of results to return. The lowest value is 1.
1 <= x <= 100A unique reward assignment ID.
"rewa_m9hEAu10KsPcLhGXiHG85aY0"
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.