DiscountItemsInput input object

Specifies the items attached to a discount.


Input fields

  • all ([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    Whether all items should be selected.
  • collections ([DiscountCollectionsInput](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcollectionsinput))
    The collections that are attached to a discount.
  • products ([DiscountProductsInput](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountproductsinput))
    The products and product variants that are attached to a discount.