---
title: customerAddressUpdate - Storefront API
description: >-
  Updates an existing
  [`MailingAddress`](/docs/api/storefront/2026-07/objects/MailingAddress) for a
  [`Customer`](/docs/api/storefront/2026-07/objects/Customer).

  Requires a [customer access
  token](/docs/api/storefront/2026-07/mutations/customerAddressUpdate#arguments-customerAccessToken)

  to identify the customer, an ID to specify which address to modify, and an
  [`address`](/docs/api/storefront/2026-07/input-objects/MailingAddressInput)

  with the updated fields.


  Successful update returns the updated
  [`MailingAddress`](/docs/api/storefront/2026-07/objects/MailingAddress).
api_version: 2026-07
source_url:
  html: >-
    https://shopify.dev/docs/api/storefront/latest/mutations/customerAddressUpdate
  md: >-
    https://shopify.dev/docs/api/storefront/latest/mutations/customerAddressUpdate.md
api_name: storefront
api_type: graphql
type: mutation
---

# customer​Address​Update

mutation

Requires `unauthenticated_write_customers` access scope.

Updates an existing [`MailingAddress`](https://shopify.dev/docs/api/storefront/2026-07/objects/MailingAddress) for a [`Customer`](https://shopify.dev/docs/api/storefront/2026-07/objects/Customer). Requires a [customer access token](https://shopify.dev/docs/api/storefront/2026-07/mutations/customerAddressUpdate#arguments-customerAccessToken) to identify the customer, an ID to specify which address to modify, and an [`address`](https://shopify.dev/docs/api/storefront/2026-07/input-objects/MailingAddressInput) with the updated fields.

Successful update returns the updated [`MailingAddress`](https://shopify.dev/docs/api/storefront/2026-07/objects/MailingAddress).

## Arguments

* address

  [Mailing​Address​Input!](https://shopify.dev/docs/api/storefront/latest/input-objects/MailingAddressInput)

  required

  The customer’s mailing address.

* customer​Access​Token

  [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String)

  required

  The access token used to identify the customer.

* id

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

  required

  Specifies the customer address to update.

***

## Customer​Address​Update​Payload returns

* customer​Address

  [Mailing​Address](https://shopify.dev/docs/api/storefront/latest/objects/MailingAddress)

  The customer’s updated mailing address.

* customer​User​Errors

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

  non-null

  The list of errors that occurred from executing the mutation.

* user​Errors

  [\[User​Error!\]!](https://shopify.dev/docs/api/storefront/latest/objects/UserError)

  non-nullDeprecated

  The list of errors that occurred from executing the mutation.

***

## Examples

* ### customerAddressUpdate reference
