Skip to main content
Anchor to customerAddressUpdate

customerAddressUpdate

mutation

Requires unauthenticated_write_customers access scope.

Updates an existing MailingAddress for a Customer. Requires a customer access token to identify the customer, an ID to specify which address to modify, and an address with the updated fields.

Successful update returns the updated MailingAddress.

•MailingAddressInput!
required

The customer’s mailing address.

•String!
required

The access token used to identify the customer.

•ID!
required

Specifies the customer address to update.


Was this section helpful?

Anchor to CustomerAddressUpdatePayload returnsCustomerAddressUpdatePayload returns

•MailingAddress

The customer’s updated mailing address.

•[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?