---
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: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/unions/DiscountCustomerBuysValue
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/unions/DiscountCustomerBuysValue.md
api_name: admin
api_type: graphql
type: union
---

# 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/latest/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
```
