--- title: deliveryShippingOriginAssign - GraphQL Admin description: Assigns a location as the shipping origin while using legacy compatibility mode for multi-location delivery profiles. api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/deliveryshippingoriginassign md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/deliveryshippingoriginassign.md --- # delivery​Shipping​Origin​Assign mutation Requires Any of `shipping` access scopes or `manage_delivery_settings` user permission. Assigns a location as the shipping origin while using legacy compatibility mode for multi-location delivery profiles. ## Arguments * location​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The ID of the location to assign as the shipping origin. *** ## Delivery​Shipping​Origin​Assign​Payload returns * user​Errors [\[User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/UserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### deliveryShippingOriginAssign reference ## Mutation Reference ```graphql mutation deliveryShippingOriginAssign($locationId: ID!) { deliveryShippingOriginAssign(locationId: $locationId) { userErrors { field message } } } ``` ## Input ```json { "locationId": "gid://shopify//10079785100" } ``` ##### Variables ``` { "locationId": "gid://shopify//10079785100" } ```