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

客户要添加或删除折扣的输入字段

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

## Type Signature

`DiscountCustomersInput`

## Input Fields

* `remove`

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

  要从当前可以使用折扣的客户列表中删除的客户列表

* `add`

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

  添加到当前可以使用折扣的客户列表的客户列表

## Schema Definition

```graphql
input DiscountCustomersInput { 
	remove: [String]
	add: [String] 
}
```

## Input field from

* [DiscountCustomerSelectionInput](https://developer.shopline.com/zh-hans-cn/docs/admin-graph-ql-api/discounts-and-marketing/inputs/discount-customer-selection-input.md).customers

  要从客户列表中添加或删除的客户 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)。

