API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

DiscountCustomerSelectionInput input object

Version unstable

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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

Version 2021-01 (Release candidate)

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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

Version 2020-10 (Latest)

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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

Version 2020-07

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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

Version 2020-04

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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

Version 2020-01

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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

Version 2019-10 (Unsupported)

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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

Version 2019-07 (Unsupported)

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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

Version 2019-04 (Unsupported)

Specifies the customers who can use this discount.

Input fields

all (Boolean)

Whether all customers can use this discount.

customerSavedSearches (DiscountCustomerSavedSearchesInput)

The list of customer saved search IDs to add or remove from the list of customer saved searches.

customers (DiscountCustomersInput)

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