Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Unique campaign ID or name.
"camp_rRsfatlwN7unSeUIJDCYedal"
Unique loyalty tier ID.
"promo_2EnAik6Jt7dKTOMkRTIgEjZH"
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
Response
Returns a list of earning rules for a given tier. The object for each earning rule also contains information about how the points are calculated; this includes mapping. If a specific multiplier was used to calculate points for a given tier, then the loyalty.points
parameter will account for this calculation.
Response body schema for GET v1/loyalties/{campaignId}/tiers/{loyaltyTierId}/earning-rules
.
The type of the object represented by JSON. This object stores information about earning rules in a dictionary.
list
Identifies the name of the attribute that contains the array of earning rule objects.
data
Contains array of earning rule objects.
Total number of earning rule objects.