DiscountCodeBxgy
object
A code discount that gives customers a Buy X Get Y (BXGY) deal.
Fields
Limit on the number of uses per customer, null means no limit
The count of times the discount has been used.
The number of redeem codes for the discount.
It returns the first 20 codes of the discount
Determines which discount classes the discount can combine with.
The date and time when the discount was created.
Eligible items for the discount and the quantity of each item the customer must buy.
Eligible items in the order, the quantity of each item, and the total discount value.
The customers that can use the discount.
The class of the discount for combining purposes.
The date and time when the discount ends. For open-ended discounts, use null.
URLs that can be used to share the discount.
The date and time when the discount starts.
The status of the discount.
A detailed summary of the discount.
The title of the discount.
The total sales from orders where the discount was used.
The date and time when the discount was updated.
The maximum number of times the discount can be used.
The maximum number of 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?