Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 2.82 KB

File metadata and controls

24 lines (20 loc) · 2.82 KB

Voucherify.Model.PromotionsTiersCreateRequestBody

Request body schema for POST v1/v1/promotions/{campaignId}/tiers.

Properties

Name Type Description Notes
Name string Name of the promotion tier. [optional]
Banner string Text to be displayed to your customers on your website. [optional]
Metadata Object 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. [optional]
Hierarchy int? 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. [optional]
Active bool? 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 [optional]
StartDate DateTimeOffset? Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is inactive before this date. [optional]
ExpirationDate DateTimeOffset? Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is inactive after this date. [optional]
ValidityTimeframe ValidityTimeframe [optional]
ValidityDayOfWeek List<PromotionsTiersCreateRequestBody.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 [optional]
ValidityHours ValidityHours [optional]
Category string Assign a new or update the promotion tier's category using name. [optional]
CategoryId string Assign a new or update the promotion tier's category using id [optional]
Action PromotionsTiersCreateRequestBodyAction [optional]
ValidationRuleAssignments ValidationRuleAssignmentsList [optional]

[Back to Model list] [Back to API list] [Back to README]