stack

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

AdminTypes.DiscountCustomerGets interface

The qualifying items in an order, the quantity of each one, and the total value of the discount.

Signature:

export interface DiscountCustomerGets 

Properties

Property Modifiers Type Description
appliesOnOneTimePurchase   Scalars[‘Boolean’][‘output’] Whether the discount applies on regular one-time-purchase items.
appliesOnSubscription   Scalars[‘Boolean’][‘output’] Whether the discount applies on subscription items.
items   DiscountItems The items to which the discount applies.
value   DiscountCustomerGetsValue Entitled quantity and the discount value.