--- title: orderCustomerSet - GraphQL Admin description: Sets a customer on an order. api_version: 2026-01 api_name: admin type: mutation api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCustomerSet' md: >- https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCustomerSet.md --- # order​Customer​Set mutation Requires `write_orders` access scope or `write_quick_sale` access scope. Also: The user must have permission to manage the order. Sets a customer on an order. ## Arguments * customerId * orderId *** ## Order​Customer​Set​Payload returns * order * userErrors *** ## Examples * ### orderCustomerSet reference