--- title: DiscountCustomerBuysValue - GraphQL Admin description: >- The prerequisite for the discount to be applicable. For example, the discount might require a customer to buy a minimum quantity of select items. Alternatively, the discount might require a customer to spend a minimum amount on select items. api_version: unstable api_name: admin source_url: html: >- https://shopify.dev/docs/api/admin-graphql/unstable/unions/DiscountCustomerBuysValue md: >- https://shopify.dev/docs/api/admin-graphql/unstable/unions/DiscountCustomerBuysValue.md --- # Discount​Customer​Buys​Value union Requires Apps must have `read_discounts` access scope. The prerequisite for the discount to be applicable. For example, the discount might require a customer to buy a minimum quantity of select items. Alternatively, the discount might require a customer to spend a minimum amount on select items. ## Fields with this union * [Discount​Customer​Buys.value](https://shopify.dev/docs/api/admin-graphql/unstable/objects/DiscountCustomerBuys#field-DiscountCustomerBuys.fields.value) OBJECT The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable. *** ```graphql union DiscountCustomerBuysValue = DiscountPurchaseAmount | DiscountQuantity ```