stack

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

AdminTypes.DiscountAmountInput interface

The input fields for the value of the discount and how it is applied.

Signature:

export interface DiscountAmountInput 

Properties

Property Modifiers Type Description
amount?   InputMaybe<Scalars[‘Decimal’][‘input’]> (Optional) The value of the discount.
appliesOnEachItem?   InputMaybe<Scalars[‘Boolean’][‘input’]> (Optional) If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.