Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Unique loyalty campaign ID or name.
"camp_rRsfatlwN7unSeUIJDCYedal"
Body
Provide tier definitions you want to add to existing loyalty campaign.
Request body schema for POST v1/loyalties/{campaignId}/tiers
Loyalty Tier name.
Defines range of loyalty tier in points.
Contains a list of earning rule IDs and their points mapping for the given earning rule.
Contains a list of reward IDs and their points mapping for the given reward.
The metadata object stores all custom attributes assigned to the loyalty tier. A set of key/value pairs that you can attach to a loyalty tier object. It can be useful for storing additional information about the loyalty tier in a structured format.
Response
Returns created loyalty tiers.
Response body schema for POST v1/loyalties/{campaignId}/tiers
.
Loyalty Tier name.
Defines range of loyalty tier in points.
Unique loyalty tier ID.
Unique parent campaign ID.
The metadata object stores all custom attributes assigned to the loyalty tier. A set of key/value pairs that you can attach to a loyalty tier object. It can be useful for storing additional information about the loyalty tier in a structured format.
Timestamp representing the date and time when the loyalty tier was created. The value is shown in the ISO 8601 format.
Defines loyalty tier range in points.
The type of the object represented by JSON. This object stores information about the loyalty.
loyalty_tier
Contains a list of earning rule IDs and their points mapping for the given earning rule.
Contains a list of reward IDs and their points mapping for the given reward.
Timestamp representing the date and time when the loyalty tier was updated. The value is shown in the ISO 8601 format.
Defines loyalty tier expiration date.