# companyLocationAssignAddress - admin - MUTATION
Version: 2025-01

## Description
Updates an address on a company location.

### Access Scopes
`write_customers` access scope or `write_companies` access scope. Also: The API client must be installed on a Shopify Plus store.


## Arguments
* [address](/docs/api/admin/2025-01/input-objects/CompanyAddressInput): CompanyAddressInput! - The input fields to use to update the address.
* [addressTypes](/docs/api/admin/2025-01/enums/CompanyAddressType): CompanyAddressType! - The list of address types on the location to update.
* [locationId](/docs/api/admin/2025-01/scalars/ID): ID! - The ID of the company location to update addresses on.


## Returns
* [addresses](/docs/api/admin/2025-01/objects/CompanyAddress): CompanyAddress The list of updated addresses on the company location.
* [userErrors](/docs/api/admin/2025-01/objects/BusinessCustomerUserError): BusinessCustomerUserError! The list of errors that occurred from executing the mutation.


## Examples