PriceRuleCustomerSelectionInput input object

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


Input fields

  • customerIdsToAdd ([[ID!]](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.
  • customerIdsToRemove ([[ID!]](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    A list of customers to remove from the current list of customers to whom the price rule applies.
  • forAllCustomers ([Boolean](https://shopify.dev/docs/admin-api/graphql/reference/scalar#boolean-2021-01))
    Whether the price rule applies to all customers.
  • savedSearchIds ([[ID!]](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
    List of customer saved searches that contain the customers to whom the price rule applies. No single customer IDs may be present.