Required access

unauthenticated_write_customers access scope

Updates the default address of an existing customer.

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.


Argument Type Default Description
addressId required ID!

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

customerAccessToken required String!

The access token used to identify the customer.

Return Fields

customer   (Customer)

The updated customer object.

userErrors   ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up