Updates the address of an existing customer.

Required access

unauthenticated_write_customers access scope

Interactive Example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


address ( MailingAddressInput! ) required

The customer’s mailing address.

customerAccessToken ( String! ) required

The access token used to identify the customer.

id ( ID! ) required

Specifies the customer address to update.

Return Fields

customerAddress (MailingAddress)

The customer’s updated mailing address.

customerUserErrors ([CustomerUserError!]!)

List of errors that occurred executing the mutation.

Deprecated return fields

userErrors ([UserError!]!) deprecated

List of errors that occurred executing the mutation.

Deprecation warning

Use customerUserErrors instead

Sign up for a Partner account to get started.

Sign up