---
title: "DiscountCustomerBuysValue"
description: "适用折扣的前提条件"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/unions/discount-customer-buys-value'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/unions/discount-customer-buys-value.md'
---
# DiscountCustomerBuysValue

适用折扣的前提条件

- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Union

## Type Signature

`DiscountCustomerBuysValue`

## Possible Types

* [DiscountQuantity](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-quantity.md)

* [DiscountPurchaseAmount](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-purchase-amount.md)

## Schema Definition

```graphql
 DiscountCustomerBuysValue { 
	 
}
```

## Field from

* [DiscountCustomerBuys](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-customer-buys.md).value

  适用折扣的前提条件

## Possible type of

* [DiscountQuantity](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-quantity.md)

  折扣范围内的商品数量

* [DiscountPurchaseAmount](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-purchase-amount.md)

  折扣情况下的购买金额

## Error Handling

关于更多通用错误码说明，参考：[状态码和错误码](https://developer.shopline.com/zh-hans-cn/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes)。

