DiscountCustomerBuys object
The prerequisite items and prerequisite value.
Required access
Apps must have read_discounts
access scope.
On this page
Fields
- items (
[DiscountItems!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountitems)
)
The items required for the discount to be applicable. - value (
[DiscountCustomerBuysValue!](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcustomerbuysvalue)
)
The prerequisite value.
Types that return DiscountCustomerBuys
[DiscountAutomaticBxgy.customerBuys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountautomaticbxgy#customerbuys-2021-01)
[DiscountCodeBxgy.customerBuys](https://shopify.dev/docs/admin-api/graphql/reference/discounts-and-marketing/discountcodebxgy#customerbuys-2021-01)