idstring | Unique promotion tier ID.Example:promo_63fYCt81Aw0h7lzyRkrGZh9p |
created_atstring | Timestamp representing the date and time when the promotion tier was created. The value is shown in the ISO 8601 format.Example:2021-12-15T11:34:01.333Z |
updated_atstring | Timestamp representing the date and time when the promotion tier was updated. The value is shown in the ISO 8601 format.Example:2022-02-09T09:20:05.603Z |
namestring | Name of the promotion tier. |
bannerstring | Text to be displayed to your customers on your website. |
actionobject | Contains details about the discount applied by the promotion tier.Attributes Descriptiondiscount See: Discount |
metadataobject | The metadata object stores all custom attributes assigned to the promotion tier. A set of key/value pairs that you can attach to a promotion tier object. It can be useful for storing additional information about the promotion tier in a structured format. |
hierarchyinteger | The promotions hierarchy defines the order in which the discounts from different tiers will be applied to a customer’s order. If a customer qualifies for discounts from more than one tier, discounts will be applied in the order defined in the hierarchy. |
promotion_idstring | Promotion unique ID. |
campaignobject | Contains details about promotion tier’s parent campaign.Attributes Descriptionidstring
Unique campaign ID.
start_datestring
Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is inactive before this date.
Example:
2022-09-22T00:00:00.000Z
expiration_datestring
Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is inactive after this date.
Example:
2022-09-30T00:00:00.000Z
validity_timeframe See: Validity Timeframe
validity_day_of_week See: Validity Day Of Week
validity_hours See: Validity Hours
activeboolean
A flag indicating whether the campaign is active or not active. A campaign can be disabled even though it’s within the active period defined by the start_date and expiration_date using the Disable Campaign endpoint.
true indicates an active campaign
false indicates an inactive campaign
category_idstring
Unique category ID that this campaign belongs to.
Example:
cat_0b688929a2476386a6
objectstring
The type of the object represented by the campaign object. This object stores information about the campaign. |
campaign_idstring | Promotion tier’s parent campaign’s unique ID. |
activeboolean | A flag to toggle the promotion tier on or off. You can disable a promotion tier even though it’s within the active period defined by the start_date and expiration_date.- true indicates an active promotion tier |