为客户提供买 X 送 Y (BXGY) 折扣的代码折扣
Fields
appliesTimesPerCustomer ● Int
每个客户使用次数限制,null表示不限
asyncUsageCount ● Int
折扣已使用的次数
codeCount ● Int
折扣兑换代码的数量
codes ● [String]
折扣活动的折扣码,最多返回20个
combinesWith ● DiscountCombinesWith
确定折扣可以与哪些折扣级别结合
More
createdAt ● Date
创建折扣的日期和时间
customerBuys ● DiscountCustomerBuys
符合折扣资格的商品以及客户必须购买的每件商品的数量
More
customerGets ● DiscountCustomerGets
订单中符合条件的商品、每件商品的数量以及折扣总价值
More
customerSelection ● DiscountCustomerSelection
可以使用折扣的顾客
More
discountClass ● MerchandiseDiscountClass
用于合并目的的折扣类别
More
endsAt ● Date
折扣结束的日期和时间。对于无限期折扣,请使用 null
shareableUrls ● [DiscountShareableUrl]
可用于共享折扣的 URL
More
startsAt ● Date
折扣开始的日期和时间
status ● DiscountStatus
折扣的状态
More
summary ● String
折扣的详细摘要
title ● String
折扣的标题
totalSales ● MoneyV2
使用折扣的订单的总销售额
More
updatedAt ● Date
折扣更新的日期和时间
usageLimit ● Int
折扣可使用的最大次数
usesPerOrderLimit ● Int
折扣可应用于订单的最大次数
错误码
关于更多通用错误码说明,参考:状态码和错误码
这篇文章对你有帮助吗?