stack

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

AdminTypes.DiscountAmount interface

The fixed amount value of a discount, and whether the amount is applied to each entitled item or spread evenly across the entitled items.

Signature:

export interface DiscountAmount 

Properties

Property Modifiers Type Description
amount   MoneyV2 The value of the discount.
appliesOnEachItem   Scalars[‘Boolean’][‘output’] 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.