PriceRuleCustomerSelectionInput input object

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

Sign up for a Partner account to get started.

Sign up