Skip to main content
Anchor to customerDefaultAddressUpdate

customerDefaultAddressUpdate

mutation

Requires unauthenticated_write_customers access scope.

Updates the default address of an existing customer.

•ID!required

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

•String!required

The access token used to identify the customer.


Was this section helpful?

Anchor to CustomerDefaultAddressUpdatePayload returnsCustomerDefaultAddressUpdatePayload returns

•Customer

The updated customer object.

•[CustomerUserError!]!non-null

The list of errors that occurred from executing the mutation.

•[UserError!]!non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?