Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.69 KB

CampaignVoucher.md

File metadata and controls

24 lines (18 loc) · 1.69 KB

CampaignVoucher

Schema model for a campaign voucher.

Properties

Name Type Description Notes
type str Type of voucher. [optional]
discount Discount [optional]
gift Gift [optional]
loyalty_card CampaignLoyaltyCard [optional]
redemption CampaignVoucherRedemption [optional]
code_config CodeConfig
is_referral_code bool Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`. [optional]
start_date datetime Activation timestamp defines when the campaign starts to be active in ISO 8601 format. Campaign is inactive before this date. [optional]
expiration_date datetime Expiration timestamp defines when the campaign expires in ISO 8601 format. Campaign is inactive after this date. [optional]
validity_timeframe ValidityTimeframe [optional]
validity_day_of_week List[int] 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]
validity_hours ValidityHours [optional]

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