Skip to main content
Anchor to customerAddressDelete

customerAddressDelete

mutation

Requires customer_write_customers access scope.

Deletes a specific address for a customer.

•ID!
required

The ID of the address to be deleted.

•Boolean
Default:false

Whether to delete the address when it's the customer's default address. When true, another of the customer's remaining addresses becomes the default, or the customer has no default address if none remain.


Was this section helpful?

Anchor to CustomerAddressDeletePayload returnsCustomerAddressDeletePayload returns

•ID

The ID of the deleted address.

•[UserErrorsCustomerAddressUserErrors!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?