# DiscountItemsInput - admin-graphql - INPUT_OBJECT Version: 2024-07 ## Description The input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID. ### Access Scopes ## Fields * [all](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean - Whether all items should be selected. * [collections](/docs/api/admin-graphql/2024-07/input-objects/DiscountCollectionsInput): DiscountCollectionsInput - The collections that are attached to a discount. * [products](/docs/api/admin-graphql/2024-07/input-objects/DiscountProductsInput): DiscountProductsInput - The [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant) that the discount applies to. ## Input objects with this input object * [DiscountCustomerBuysInput](/docs/api/admin-graphql/2024-07/input-objects/DiscountCustomerBuysInput) * [DiscountCustomerGetsInput](/docs/api/admin-graphql/2024-07/input-objects/DiscountCustomerGetsInput) ## Examples