---
title: customerDefaultAddressUpdate - Storefront API
description: >-
  Updates the default address of an existing
  [`Customer`](/docs/api/storefront/2026-10/objects/Customer).

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

  to identify the customer and an address ID to specify which address to set as

  the new default.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/storefront/latest/mutations/customerDefaultAddressUpdate
  md: >-
    https://shopify.dev/docs/api/storefront/latest/mutations/customerDefaultAddressUpdate.md
api_name: storefront
api_type: graphql
type: mutation
---

# customer​Default​Address​Update

mutation

Requires `unauthenticated_write_customers` access scope.

Updates the default address of an existing [`Customer`](https://shopify.dev/docs/api/storefront/2026-10/objects/Customer). Requires a [customer access token](https://shopify.dev/docs/api/storefront/2026-10/mutations/customerDefaultAddressUpdate#arguments-customerAccessToken) to identify the customer and an address ID to specify which address to set as the new default.

## Arguments

* address​Id

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

  required

  ID of the address to set as the new default for the customer.

* customer​Access​Token

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

  required

  The access token used to identify the customer.

***

## Customer​Default​Address​Update​Payload returns

* customer

  [Customer](https://shopify.dev/docs/api/storefront/latest/objects/Customer)

  The updated customer object.

* 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

* ### customerDefaultAddressUpdate reference
