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

PriceRuleCustomerSelectionInput input object

Version unstable

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2021-04 (Release candidate)

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2021-01 (Latest)

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2020-10

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2020-07

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2020-04

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2020-01 (Unsupported)

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2019-10 (Unsupported)

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2019-07 (Unsupported)

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.

Version 2019-04 (Unsupported)

Specifies the input fields to update a price rule customer selection.

Input fields

  • customerIdsToAdd ([ID!])

    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.

  • customerIdsToRemove ([ID!])

    A list of customers to remove from the current list of customers to whom the price rule applies.

  • forAllCustomers (Boolean)

    Whether the price rule applies to all customers.

  • savedSearchIds ([ID!])

    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.