--- title: companyLocationUpdate - GraphQL Admin description: Updates a company location. api_version: 2025-10 api_name: admin type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/mutations/companylocationupdate md: https://shopify.dev/docs/api/admin-graphql/latest/mutations/companylocationupdate.md --- # company​Location​Update mutation Requires `write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store. Updates a company location. ## Arguments * company​Location​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required The ID of the company location to update. * input [Company​Location​Update​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CompanyLocationUpdateInput) required The input fields to update in the company location. *** ## Company​Location​Update​Payload returns * company​Location [Company​Location](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocation) The updated company location. * user​Errors [\[Business​Customer​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/BusinessCustomerUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### companyLocationUpdate reference ## Mutation Reference ```graphql mutation companyLocationUpdate($companyLocationId: ID!, $input: CompanyLocationUpdateInput!) { companyLocationUpdate(companyLocationId: $companyLocationId, input: $input) { companyLocation { # CompanyLocation fields } userErrors { field message } } } ``` ## Input ```json { "companyLocationId": "gid://shopify//10079785100", "input": { "name": "", "phone": "", "locale": "", "externalId": "", "note": "", "buyerExperienceConfiguration": { "checkoutToDraft": true, "paymentTermsTemplateId": "gid://shopify//10079785100", "editableShippingAddress": true, "deposit": {} } } } ``` ##### Variables ``` { "companyLocationId": "gid://shopify//10079785100", "input": { "name": "", "phone": "", "locale": "", "externalId": "", "note": "", "buyerExperienceConfiguration": { "checkoutToDraft": true, "paymentTermsTemplateId": "gid://shopify//10079785100", "editableShippingAddress": true, "deposit": {} } } } ``` ##### Schema ``` input CompanyLocationUpdateInput { name: String phone: String locale: String externalId: String note: String buyerExperienceConfiguration: BuyerExperienceConfigurationInput } input BuyerExperienceConfigurationInput { checkoutToDraft: Boolean paymentTermsTemplateId: ID editableShippingAddress: Boolean deposit: DepositInput } ```