---
title: "DiscountCustomerSegments"
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/objects/discount-customer-segments'
  md: 'https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/customers/objects/discount-customer-segments.md'
---
# DiscountCustomerSegments

包含折扣适用的客户的客户细分列表

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

## Type Signature

`DiscountCustomerSegments`

## Fields

* `segments`

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

  包含可以使用折扣的客户的客户细分列表

## Schema Definition

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

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

