---
title: "DiscountCustomerAll"
description: "DiscountCustomerAll 对象使您可以针对所有具有折扣资格的客户。"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-customer-all'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-customer-all.md'
---
# DiscountCustomerAll

DiscountCustomerAll 对象使您可以针对所有具有折扣资格的客户。


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

## Type Signature

`DiscountCustomerAll`

## Fields

* `allCustomers`

  [Boolean](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/common/scalars/boolean.md)

  折扣是否适用于所有客户。该值始终为真

## Schema Definition

```graphql
type DiscountCustomerAll { 
	allCustomers: Boolean 
}
```

## 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)。

