Loyalty Tier
All of:
- Loyalty Tier Base
-
Attributes Description id string
Unique loyalty tier ID.
campaign_id string
Unique parent campaign ID.
metadata object
,null
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.
created_at string
Timestamp representing the date and time when the loyalty tier was created. The value is shown in the ISO 8601 format.
updated_at string
,null
Timestamp representing the date and time when the loyalty tier was updated. The value is shown in the ISO 8601 format.
config object
Defines loyalty tier range in points.
Attributes Description points object
Defines range of loyalty tier in points.
Attributes Description from integer
Bottom points threshold value.
to integer
Top points threshold value.
expiration See: Loyalty Tier Expiration object string
The type of the object represented by JSON. This object stores information about the loyalty.
Available values:loyalty_tier
Loyalty Tier Base
Attributes | Description | ||||||
---|---|---|---|---|---|---|---|
namestring | Loyalty Tier name. | ||||||
earning_rulesobject | Contains a list of earning rule IDs and their points mapping for the given earning rule.
| ||||||
rewardsobject | Contains a list of reward IDs and their points mapping for the given reward.
| ||||||
pointsobject | Defines range of loyalty tier in points.
|
Loyalty Tier Expiration
Attributes | Description |
---|---|
customer_idstring | Unique customer ID of the customer making the purchase. Example:cust_7iUa6ICKyU6gH40dBU25kQU1 |
campaign_idstring | Unique campaign ID, assigned by Voucherify. Example:camp_rRsfatlwN7unSeUIJDCYedal |
tier_idstring | Unique tier ID, assigned by Voucherify. |
start_datestring | Activation timestamp defines when the loyalty tier starts to be active in ISO 8601 format. Loyalty tier is inactive before this date. |
expiration_datestring | Expiration timestamp defines when the loyalty tier expires in ISO 8601 format. Loyalty tier is inactive after this date. |
created_atstring | Timestamp representing the date and time when the loyalty tier was created. The value is shown in the ISO 8601 format. Example:2021-12-22T10:13:06.487Z |
updated_atstring | Timestamp representing the date and time when the loyalty tier was updated. The value is shown in the ISO 8601 format. Example:2021-12-22T10:13:06.487Z |
MappingPoints
One of:
MappingMultiply
Attributes | Description |
---|---|
typestring | Type of calculation. Available values:MULTIPLY |
multipliernumber | Multiplication factor used to multiply the points to obtain the mapped points. |
MappingFixed
Attributes | Description |
---|---|
typestring | Type of calculation. Available values:CUSTOM |
pointsinteger | Fixed number of points to be applied. |