Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Latest commit

 

History

History
28 lines (25 loc) · 3.28 KB

PromotionsTiersEnableResponseBody.md

File metadata and controls

28 lines (25 loc) · 3.28 KB

VoucherifySdk::PromotionsTiersEnableResponseBody

Properties

Name Type Description Notes
id String Unique promotion tier ID. [optional]
created_at Time Timestamp representing the date and time when the promotion tier was created in ISO 8601 format. [optional]
updated_at Time Timestamp representing the date and time when the promotion tier was updated in ISO 8601 format. [optional]
name String Name of the promotion tier. [optional]
banner String Text to be displayed to your customers on your website. [optional]
action PromotionTierAction [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 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. [optional]
promotion_id String Promotion unique ID. [optional]
campaign PromotionTierCampaign [optional]
campaign_id String Promotion tier's parent campaign's unique ID. [optional]
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 [optional]
start_date Time Activation timestamp defines when the promotion tier starts to be active in ISO 8601 format. Promotion tier is inactive before this date. [optional]
expiration_date Time Activation timestamp defines when the promotion tier expires in ISO 8601 format. Promotion tier is inactive after this date. [optional]
validity_timeframe PromotionTierValidityTimeframe [optional]
validity_day_of_week Array<Integer> Integer array corresponding to the particular days of the week in which the promotion tier is valid. - `0` Sunday - `1` Monday - `2` Tuesday - `3` Wednesday - `4` Thursday - `5` Friday - `6` Saturday [optional]
summary PromotionTierSummary [optional]
object String The type of object represented by JSON. This object stores information about the promotion tier. [optional][default to 'promotion_tier']
validation_rule_assignments ValidationRuleAssignmentsList [optional]
category_id String Promotion tier category ID. [optional]
categories Array<Category> [optional]