Response body schema for GET v1/loyalties/{campaignId}/tiers/{loyaltyTierId}
.
Name | Type | Description |
---|---|---|
name | String | Loyalty Tier name. |
earningRules | Map<String, MappingPoints> | Contains a list of earning rule IDs and their points mapping for the given earning rule. |
rewards | Map<String, MappingPoints> | Contains a list of reward IDs and their points mapping for the given reward. |
points | LoyaltiesTiersGetResponseBodyPoints | |
id | String | Unique loyalty tier ID. |
campaignId | String | Unique parent campaign ID. |
metadata | Object | 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. |
createdAt | OffsetDateTime | Timestamp representing the date and time when the loyalty tier was created. The value is shown in the ISO 8601 format. |
updatedAt | OffsetDateTime | Timestamp representing the date and time when the loyalty tier was updated. The value is shown in the ISO 8601 format. |
config | LoyaltiesTiersGetResponseBodyConfig | |
expiration | LoyaltyTierExpiration | |
_object | ObjectEnum | The type of the object represented by JSON. This object stores information about the loyalty. |
Name | Value |
---|---|
LOYALTY_TIER | "loyalty_tier" |