DiscountCustomerBuysInput input object

Specifies the prerequisite items and prerequisite quantity.


Input fields

  • items ([DiscountItemsInput](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountitemsinput))
    The IDs of items that the customer buys. The items can be either collections or products.
  • value ([DiscountCustomerBuysValueInput](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcustomerbuysvalueinput))
    The quantity of prerequisite items.