PriceRuleCustomerSelectionInput

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

Show definition
# Specifies the input fields to update a price rule customer selection.
input PriceRuleCustomerSelectionInput {
  # Whether the price rule applies to all customers.
  forAllCustomers: Boolean = false

  # List of customer saved searches that contain the customers to whom the price
  # rule applies. No single customer IDs may be present.
  savedSearchIds: [ID!]

  # List of customers to add to the current list of customers to whom the price rule applies. `savedSearchIds` must be empty.
  customerIdsToAdd: [ID!]

  # A list of customers to remove from the current list of customers to whom the price rule applies.
  customerIdsToRemove: [ID!]
}

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.