---
title: "DiscountCustomerSegments"
description: "List of customer segments eligible for the discount"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/discount-customer-segments'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/discount-customer-segments.md'
---
# DiscountCustomerSegments

List of customer segments eligible for the discount



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

## Type Signature

`DiscountCustomerSegments`

## Fields

* `segments`

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

  List of customer segments eligible to use the discount

## Schema Definition

```graphql
type DiscountCustomerSegments { 
	segments: [ID] 
}
```

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

