Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 1.84 KB

File metadata and controls

26 lines (21 loc) · 1.84 KB

LoyaltyCampaign

Properties

Name Type Description Notes
campaignId Integer Id of campaign [optional]
statistics CampaignStatistics Statistics of campaign [optional]
stores List<StoreCampaignStartTime> Stores this campaign applies to with campaign start time in Utc [optional]
publicId UUID Permanent reference to the item. [optional]
ordersBeforeReceivingVoucher Integer Number of orders customer needs to make, before receiving voucher [optional]
percentDiscountAmount Integer Discount amount in percents [optional]
maxDiscount Double Maximum discount for percentage discounts [optional]
roundingStrategy Integer Controls how the loyalty voucher's amount is rounded [optional]
shouldIncludeOrdersWithLoyaltyVoucher Boolean Controls whether we should include orders with loyalty vouchers in the campaign calculation [optional]
voucherValidPeriodDays Integer Number of days for which the voucher will be valid. [optional]
includeDeliveryFee Boolean Discount will include delivery fee [optional]
autoApplyResultingVouchers Boolean Automatically apply resulting vouchers [optional]
includeExistingOrders Boolean Campaign will apply to existing orders [optional]
isEnabled Boolean Is campaign enabled [optional]
storeIds List<Integer> Ids of stores this campaign applies to [optional]
appId String The app that this campaign belongs to. [optional]
forceDiscount Boolean Controls whether the voucher generated from this campaign will override discount exclusions [optional]