stack

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

AdminTypes.DiscountCustomerGetsValue type

The type of the discount value and how it will be applied. For example, it might be a percentage discount on a fixed number of items. Alternatively, it might be a fixed amount evenly distributed across all items or on each individual item. A third example is a percentage discount on all items.

Signature:

export type DiscountCustomerGetsValue = DiscountAmount | DiscountOnQuantity | DiscountPercentage;

References: DiscountAmount, DiscountOnQuantity, DiscountPercentage