代码折扣,为客户提供特定产品、系列或整个订单的百分比或固定金额折扣
Fields
appliesTimesPerCustomer ● Int
对每个客户使用次数限制
asyncUsageCount ● Int
折扣已使用的次数
codeCount ● Int
折扣兑换代码的数量
codes ● [String]
折扣活动的折扣码,最多返回20个
combinesWith ● DiscountCombinesWith
确定折扣可以与哪些折扣级别结合
More
createdAt ● Date
创建折扣的日期和时间
customerGets ● DiscountCustomerGets
订单中符合条件的商品、每件商品的数量以及折扣总价值
More
customerSelection ● DiscountCustomerSelection
可以使用折扣的顾客
More
discountClass ● MerchandiseDiscountClass
用于合并目的的折扣类别
More
endsAt ● Date
折扣结束的日期和时间。对于无限期折扣,请使用 null
minimumRequirement ● DiscountMinimumRequirement
应用折扣所需的最小小计或数量
More
shareableUrls ● [DiscountShareableUrl]
可用于共享折扣的 URL。
More
shortSummary ● String
折扣的简短摘要
startsAt ● Date
折扣开始的日期和时间
status ● DiscountStatus
折扣活动的状态
More
summary ● String
折扣的详细摘要
title ● String
折扣的标题
totalSales ● MoneyV2
使用折扣的订单的总销售额。
More
updatedAt ● Date
折扣更新的日期和时间
usageLimit ● Int
折扣可使用的最大次数
错误码
关于更多通用错误码说明,参考:状态码和错误码
这篇文章对你有帮助吗?