stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > PriceRuleCustomerSelectionInput

AdminTypes.PriceRuleCustomerSelectionInput interface

The input fields to update a price rule customer selection.

Signature:

export interface PriceRuleCustomerSelectionInput 

Properties

Property Modifiers Type Description
customerIdsToAdd?   InputMaybe<Array<Scalars[‘ID’][‘input’]>> (Optional) List of customers to add to the current list of customers to whom the price rule applies. savedSearchIds must be empty.
customerIdsToRemove?   InputMaybe<Array<Scalars[‘ID’][‘input’]>> (Optional) A list of customers to remove from the current list of customers to whom the price rule applies.
forAllCustomers?   InputMaybe<Scalars[‘Boolean’][‘input’]> (Optional) Whether the price rule applies to all customers.
segmentIds?   InputMaybe<Array<Scalars[‘ID’][‘input’]>> (Optional) List of customer segments that contain the customers to whom the price rule applies. No single customer IDs may be present.