---
title: "DiscountCustomerAll"
description: >
  The DiscountCustomerAll object lets you target all customers for discount eligibility.
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-customer-all'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/discounts-and-marketing/objects/discount-customer-all.md'
---
# DiscountCustomerAll

The DiscountCustomerAll object lets you target all customers for discount eligibility.



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

## Type Signature

`DiscountCustomerAll`

## Fields

* `allCustomers`

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

  Whether the discount can be applied by all customers. This value is always true.
  
  

## Schema Definition

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

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

