PriceRuleCustomerSelectionInput

Version 2019-04 (latest)

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 {
  """
  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!]
  """
  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!]
}

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