# DiscountCustomerBuys - admin - OBJECT
Version: 2025-01

## Description
The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable.

### Access Scopes
Apps must have `read_discounts` access scope.


## Fields
* [isOneTimePurchase](/docs/api/admin/2025-01/scalars/Boolean): Boolean! - If the discount is applicable when a customer buys a one-time purchase.
* [isSubscription](/docs/api/admin/2025-01/scalars/Boolean): Boolean! - If the discount is applicable when a customer buys a subscription purchase.
* [items](/docs/api/admin/2025-01/unions/DiscountItems): DiscountItems! - The items required for the discount to be applicable.
* [value](/docs/api/admin/2025-01/unions/DiscountCustomerBuysValue): DiscountCustomerBuysValue! - The prerequisite value.

## Connections



## Related queries

## Related mutations

## Related Unions

## Examples