--- title: companyLocationCreate - GraphQL Admin description: Creates a company location. 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/companyLocationCreate md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/mutations/companyLocationCreate.txt --- # company​Location​Create mutation Requires `write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store. Creates a company location. ## Arguments * company​Id [ID!](https://shopify.dev/docs/api/admin-graphql/2024-10/scalars/ID) required The ID of the company that the company location belongs to. * input [Company​Location​Input!](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/CompanyLocationInput) required The fields to use to create the company location. *** ## Company​Location​Create​Payload returns * company​Location [Company​Location](https://shopify.dev/docs/api/admin-graphql/2024-10/objects/CompanyLocation) The created company location. * 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 * ### companyLocationCreate reference ## Mutation Reference ```graphql mutation companyLocationCreate($companyId: ID!, $input: CompanyLocationInput!) { companyLocationCreate(companyId: $companyId, input: $input) { companyLocation { # CompanyLocation fields } userErrors { field message } } } ``` ## Input ```json { "companyId": "gid://shopify//10079785100", "input": { "name": "", "phone": "", "locale": "", "externalId": "", "note": "", "buyerExperienceConfiguration": { "checkoutToDraft": true, "paymentTermsTemplateId": "gid://shopify//10079785100", "editableShippingAddress": true, "deposit": {} }, "billingAddress": { "address1": "", "address2": "", "city": "", "zip": "", "recipient": "", "firstName": "", "lastName": "", "phone": "", "zoneCode": "", "countryCode": "AF" }, "shippingAddress": { "address1": "", "address2": "", "city": "", "zip": "", "recipient": "", "firstName": "", "lastName": "", "phone": "", "zoneCode": "", "countryCode": "AF" }, "billingSameAsShipping": true, "taxRegistrationId": "", "taxExemptions": [ "CA_STATUS_CARD_EXEMPTION" ] } } ```