--- title: Add and remove customers from an order with GraphQL - Shopify developer changelog description: Shopify’s developer changelog documents all changes to Shopify’s platform. Find the latest news and learn about new platform opportunities. source_url: html: https://shopify.dev/changelog/orders-number-and-customer-graphql-update md: https://shopify.dev/changelog/orders-number-and-customer-graphql-update.md --- [Back to Developer changelog](https://shopify.dev/changelog) May 23, 2025 Tags: * Admin GraphQL API * 2025-07 # Add and remove customers from an order with GraphQL The Admin GraphQL API now includes `orderCustomerRemove` (to [remove a customer from an order](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/ordercustomerremove)) and `orderCustomerSet` (to [add a customer to an order](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/orderCustomerSet)) mutations, making it easier to manage orders and customers. The `orderCustomerRemove` mutation covers the same use case as setting [`order.customer: null` in the REST API](https://shopify.dev/docs/api/admin-rest/unstable/resources/order#put-orders-order-id), while `orderCustomerSet` is all-new functionality not previously possible in GraphQL or REST. We've also added an `Order.number` [field](https://shopify.dev/docs/api/admin-graphql/2025-07/queries/order), equivalent to the [`order_number` REST field](https://shopify.dev/docs/api/admin-rest/unstable/resources/order#post-orders).