Tags:
- Admin GraphQL API
- 2025-07
Add and remove customers from an order with GraphQL
The Admin GraphQL API now includes (to remove a customer from an order) and (to add a customer to an order) mutations, making it easier to manage orders and customers. The mutation covers the same use case as setting order.customer: null in the REST API, while is all-new functionality not previously possible in GraphQL or REST.
We've also added an Order.number field, equivalent to the REST field.
Was this section helpful?