Home > @infiniteobjects/shopify-data-manager > AdminTypes > DiscountItemsInput
The input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID.
Signature:
export interface DiscountItemsInput
| Property | Modifiers | Type | Description |
|---|---|---|---|
| all? | InputMaybe<Scalars[‘Boolean’][‘input’]> | (Optional) Whether all items should be selected. | |
| collections? | InputMaybe<DiscountCollectionsInput> | (Optional) The collections that are attached to a discount. | |
| products? | InputMaybe<DiscountProductsInput> | (Optional) The products and product variants that are attached to a discount. |