DiscountCodeBxgyInput
input
The input fields for creating or updating a Buy X Get Y code discount.
Fields
The code to use the discount.
The customers eligible for the discount. If
null or omitted during an update, the original value remains unchanged.The date and time when the discount starts.
Eligible items for the discount and the quantity of each item that customers must purchase.
The maximum number of times the discount can be applied per order. If
null or omitted, there is no limit.The title of the discount.
The maximum number of times a single customer can use the discount. If
Value range: 1–99,999,999
null or omitted, there is no limit.Value range: 1–99,999,999
The date and time when the discount ends. If
null or omitted, the discount has no expiration date.The discount types that can be combined with the discount. If the field is
null, an empty object ({}), or is omitted, the discount cannot be combined with any other discounts.Eligible items for the discount, the quantity of each item, and the total value of the discount.
The maximum number of times the discount can be used. If
Value range: 1–99,999,999
null or omitted, there is no total usage limit.Value range: 1–99,999,999
Map
DiscountCodeBxgyInput
Was this article helpful to you?