Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 3.11 KB

RedemptionEntryPromotionTier.md

File metadata and controls

48 lines (36 loc) · 3.11 KB

RedemptionEntryPromotionTier

Properties

Name Type Description
id String Unique promotion tier ID.
createdAt OffsetDateTime Timestamp representing the date and time when the promotion tier was created. The value is shown in the ISO 8601 format.
updatedAt OffsetDateTime Timestamp representing the date and time when the promotion tier was updated. The value is shown in the ISO 8601 format.
name String Name of the promotion tier.
banner String Text to be displayed to your customers on your website.
action RedemptionEntryPromotionTierAction
metadata Object
hierarchy Integer 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.
promotionId String Promotion unique ID.
campaign RedemptionEntryPromotionTierCampaign
campaignId String Promotion tier's parent campaign's unique ID.
active Boolean 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 - `false` indicates an inactive promotion tier
startDate OffsetDateTime Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is inactive before this date.
expirationDate OffsetDateTime Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is inactive after this date.
validityTimeframe ValidityTimeframe
validityDayOfWeek List<ValidityDayOfWeekEnum> Integer array corresponding to the particular days of the week in which the voucher is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday
validityHours ValidityHours
summary RedemptionEntryPromotionTierSummary
_object String The type of the object represented by JSON. This object stores information about the promotion tier.
validationRuleAssignments ValidationRuleAssignmentsList
categoryId String Promotion tier category ID.
categories List<Category>

Enum: List<ValidityDayOfWeekEnum>

Name Value
NUMBER_0 0
NUMBER_1 1
NUMBER_2 2
NUMBER_3 3
NUMBER_4 4
NUMBER_5 5
NUMBER_6 6