API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 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.

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

Version 2021-07 (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.

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

Version 2021-04 (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.

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

Version 2021-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.

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

Version 2020-10

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.

  • 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.

  • 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.

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

Version 2020-01 (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.

  • 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.

  • 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.

  • 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.

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