stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountCustomerBuysValue

AdminTypes.DiscountCustomerBuysValue type

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.

Signature:

export type DiscountCustomerBuysValue = DiscountPurchaseAmount | DiscountQuantity;

References: DiscountPurchaseAmount, DiscountQuantity