--- title: companyUpdate - GraphQL Admin description: Updates a company. api_version: 2024-10 api_name: admin type: mutation api_type: graphql source_url: html: 'https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/companyUpdate' md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/companyUpdate.txt --- # company​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. ## Arguments * company​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) required The ID of the company to be updated. * input [Company​Input!](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/CompanyInput) required The input fields to update the company. *** ## Company​Update​Payload returns * company [Company](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/Company) The updated company. * user​Errors [\[Business​Customer​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/BusinessCustomerUserError) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### companyUpdate reference ## Mutation Reference ```graphql mutation companyUpdate($companyId: ID!, $input: CompanyInput!) { companyUpdate(companyId: $companyId, input: $input) { company { # Company fields } userErrors { field message } } } ``` ## Input ```json { "companyId": "gid://shopify//10079785100", "input": { "name": "", "note": "", "externalId": "", "customerSince": "2019-09-07T15:50:00Z" } } ```