input_object
input_object
The input fields to create or update an automatic Buy X, Get Y (BXGY) discount.
Determines which discount classes the discount can combine with.
The qualifying items and the quantity of each one that the customer has to buy to be eligible for the discount.
The qualifying items in an order, the quantity of each one, and the total value of the discount.
The date and time when the discount ends. For open-ended discounts, use
null
.The date and time when the discount starts.
The title of the discount.
The maximum number of times that the discount can be applied to an order.
Was this section helpful?
Mutations using this input
Was this section helpful?