Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountAmountInput
The input fields for the value of the discount and how it is applied.
Signature:
export interface DiscountAmountInput
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. |