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

Latest commit

 

History

History
20 lines (17 loc) · 1.68 KB

SimpleCampaign.md

File metadata and controls

20 lines (17 loc) · 1.68 KB

VoucherifySdk::SimpleCampaign

Properties

Name Type Description Notes
id String Campaign name. [optional]
name String Campaign name. [optional]
campaign_type String Type of campaign. [optional]
type String Defines whether the campaign can be updated with new vouchers after campaign creation. - `AUTO_UPDATE`: By choosing the auto update option you will create a campaign that can be enhanced by new vouchers after the time of creation (e.g. by publish vouchers method). - `STATIC`: vouchers need to be manually published. [optional]
is_referral_code Boolean Flag indicating whether this voucher is a referral code; `true` for campaign type `REFERRAL_PROGRAM`. [optional]
voucher Object [optional]
lucky_draw Object [optional]
referral_program ReferralProgram [optional]
auto_join Boolean Indicates whether customers will be able to auto-join a loyalty campaign if any earning rule is fulfilled. [optional]
join_once Boolean If this value is set to `true`, customers will be able to join the campaign only once. [optional]
active Boolean Indicates whether campaign is active [optional]
created_at Time Timestamp representing the date and time when the campaign was created in ISO 8601 format. [optional]
object String The type of object represented by JSON. This object stores information about the campaign. [optional][default to 'campaign']