---
title: companyLocationAssignAddress - Customer API
description: Updates an address on a company location.
api_version: 2026-01
api_name: customer
type: mutation
api_type: graphql
source_url:
  html: >-
    https://shopify.dev/docs/api/customer/latest/mutations/companyLocationAssignAddress
  md: >-
    https://shopify.dev/docs/api/customer/latest/mutations/companyLocationAssignAddress.md
---

# company​Location​Assign​Address

mutation

Updates an address on a company location.

## Arguments

* address

  [Company​Address​Input!](https://shopify.dev/docs/api/customer/latest/input-objects/CompanyAddressInput)

  required

  The input fields to use to update the address.

* address​Types

  [\[Company​Address​Type!\]!](https://shopify.dev/docs/api/customer/latest/enums/CompanyAddressType)

  required

  The list of address types on the location to update.

* location​Id

  [ID!](https://shopify.dev/docs/api/customer/latest/scalars/ID)

  required

  The ID of the company location to update addresses on.

***

## Company​Location​Assign​Address​Payload returns

* addresses

  [\[Company​Address!\]](https://shopify.dev/docs/api/customer/latest/objects/CompanyAddress)

  The list of updated addresses on the company location.

* user​Errors

  [\[Business​Customer​User​Error!\]!](https://shopify.dev/docs/api/customer/latest/objects/BusinessCustomerUserError)

  non-null

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### companyLocationAssignAddress reference
