---
title: "companyLocationUpdate"
description: "Company location information update"
doc_type: graphql
doc_category: adminGraphQL
doc_version: v20270301
source_url:
  html: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/mutations/company-location-update'
  md: 'https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/mutations/company-location-update.md'
---
# companyLocationUpdate

Company location information update

- **Required Scopes:** `write_customers`
- **API Version:** v20270301
- **API Type:** Admin
- **API Protocol:** GraphQL
- **Operation Type:** Mutation

## Type Signature

`CompanyLocationUpdatePayload`

## Required Permissions

* `write_customers`

An access token is required to call this API. Refer to [Authorization](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md) for more information about how to obtain the token.

## Arguments

* `companyLocationId`

  [ID!](https://developer.shopline.com/docs/admin-graph-ql-api/common/scalars/id.md)

  Company location id

* `input`

  [CompanyLocationUpdateInput!](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/inputs/company-location-update-input.md)

  Company location information input

## Returns

* `companyLocation`

  [CompanyLocation](https://developer.shopline.com/docs/admin-graph-ql-api/b-2-b/objects/company-location.md)

  Company location information

* `userErrors`

  [[BusinessCustomerUserError!]!](https://developer.shopline.com/docs/admin-graph-ql-api/customers/objects/business-customer-user-error.md)

  Error message

## Code Example

```graphql
mutation companyLocationUpdate($companyLocationId: ID! $input: CompanyLocationUpdateInput! ) {
	companyLocationUpdate(companyLocationId: $companyLocationId, input: $input ) 
		 {
			# CompanyLocationUpdatePayload fields
		}
		
	}

```

## Variables

```json
{
  "companyLocationId": {},
  "input": {
    "buyerExperienceConfiguration": {
      "editableShippingAddress": {},
      "paymentTermsTemplateId": {}
    },
    "name": {}
  }
}
```

## Error Handling

For detailed information about common codes, see [Status and error codes](https://developer.shopline.com/docs/apps/api-instructions-for-use/graph-ql-admin-api/overview.md#status-and-error-codes).

