Buy X Get Y (BXGY) automatic discount.
Fields
asyncUsageCount ● Int
The number of times the discount has been redeemed. This value is updated asynchronously and may not match the actual usage count.
combinesWith ● DiscountCombinesWith
which discount classes the discount can combine with.
More
createdAt ● Date
The time when discount created.
customerBuys ● DiscountCustomerBuys
Eligible items for the discount and the quantity of each item the customer must purchase.
More
customerGets ● DiscountCustomerGets
Eligible items in the order, the quantity of each item, and the total discount value.
More
discountClass ● MerchandiseDiscountClass
The class of the discount for combining purposes.
More
endsAt ● Date
The time when discount ends. use null for open-ended discounts.
startsAt ● Date
The time when the discount starts.
status ● DiscountStatus
The discount status.
More
summary ● String
summary of the discount.
title ● String
discount title.
updatedAt ● Date
The time when the discount was updated.
usesPerOrderLimit ● Int
Times that the discount can be applied to an order.
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?