Using TypeScript? Check out our GraphQL SDK for a fully typed client.
Add a customer to groups
A customer can be added to a customer group using theaddCustomerToCustomerGroup mutation.
Depending on what your customer groups are you may want to call this API at different times. For example if you are grouping them by their pricing tier you will want to do this every time their tier changes.
This operation requires the following permissions:
customer:createcustomer:edit
Mutation
Variables
Variables
Response
Remove a customer from groups
A customer can be removed from a customer group by using theremoveCustomerFromGroup mutation.
Mutation
Variables
Response
Variables

