Skip to main content
Anchor to customerAddressDelete

customerAddressDelete

mutation

Requires unauthenticated_write_customers access scope.

Permanently deletes a specific MailingAddress for a Customer. Requires a valid customer access token to authenticate the request.


Caution

This action is irreversible. You can't recover the deleted address.


•String!
required

The access token used to identify the customer.

•ID!
required

Specifies the address to delete.


Was this section helpful?

Anchor to CustomerAddressDeletePayload returnsCustomerAddressDeletePayload returns

•[CustomerUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Anchor to deletedCustomerAddressIddeletedCustomerAddressId
•String

ID of the deleted customer address.

•[UserError!]!
non-nullDeprecated

The list of errors that occurred from executing the mutation.


Was this section helpful?