Anchor to DiscountCustomerBuysValueDiscount
DiscountCustomerBuysValue
union
Requires Apps must have access scope.
The prerequisite for the discount to be applicable. For example, the discount might require a customer to buy a minimum quantity of select items. Alternatively, the discount might require a customer to spend a minimum amount on select items.
Anchor to Possible typesPossible types
- •OBJECT
A purchase amount in the context of a discount. This object can be used to define the minimum purchase amount required for a discount to be applicable.
- •OBJECT
A quantity of items in the context of a discount. This object can be used to define the minimum quantity of items required to apply a discount. Alternatively, it can be used to define the quantity of items that can be discounted.
Was this section helpful?
Anchor to Fields with this unionFields with this union
- •OBJECT
The prerequisite value.
Was this section helpful?
1union DiscountCustomerBuysValue = DiscountPurchaseAmount | DiscountQuantity