---
title: "DiscountCustomersInput"
description: "Input field for customers to add or remove discounts"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/inputs/discount-customers-input'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/customers/inputs/discount-customers-input.md'
---
# DiscountCustomersInput

Input field for customers to add or remove discounts


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

## Type Signature

`DiscountCustomersInput`

## Input Fields

* `add`

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

  List of customers to be added to the current list of those eligible for discounts
  

* `remove`

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

  List of customers to be removed from the current list of those eligible for discounts

## Schema Definition

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

## Input field from

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

  The list of customer IDs to add or remove from the list of customers.
  

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

