Input fields for creating or updating an automatic Buy X, Get Y (BXGY) discount.
Fields
customerBuys ● DiscountCustomerBuysInput
Eligible items for the discount and the quantity of each item that customers must purchase
More
usesPerOrderLimit ● Int
Maximum number of times the discount can be applied to an order
title ● String
The title of the discount.
endsAt ● Date
End date and time of the discount. For indefinite discounts, use null.
combinesWith ● DiscountCombinesWithInput
Determine which discount levels can be combined with this discount
More
customerGets ● DiscountCustomerGetsInput
Eligible items in the order, the quantity of each item, and the total discount value
More
startsAt ● Date
Start date and time of the discount
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?