Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountCustomerGetsInput
Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.
Signature:
export interface DiscountCustomerGetsInput
| Property | Modifiers | Type | Description |
|---|---|---|---|
| appliesOnOneTimePurchase? | InputMaybe<Scalars[‘Boolean’][‘input’]> | (Optional) Whether the discount applies on regular one-time-purchase items. | |
| appliesOnSubscription? | InputMaybe<Scalars[‘Boolean’][‘input’]> | (Optional) Whether the discount applies on subscription items. | |
| items? | InputMaybe<DiscountItemsInput> | (Optional) The IDs of the items that the customer gets. The items can be either collections or products. | |
| value? | InputMaybe<DiscountCustomerGetsValueInput> | (Optional) The quantity of items discounted and the discount value. |