customerAddressDelete
Remove an address from the customer's address book
Arguments
| Argument | Type | Description |
|---|---|---|
addressId | ID! |
Returns
CustomerAddressDeleteResponse!
| Field | Type | Description |
|---|---|---|
customer | Customer | Updated customer account information after address deletion |
customerErrors | [CustomerAddressDeleteError!] | Error details if address deletion failed |
Example
mutation { customerAddressDelete(addressId: "addr-123") { customer { id addresses { items { id city } } } customerErrors { ... on ValidationError { message } } }}{ "data": { "customerAddressDelete": { "customer": { "id": "id-1", "addresses": { "items": [ { "id": "id-1", "city": "Example" } ] } }, "customerErrors": [ { "message": "Example" } ] } }}The query is the example the schema documents. The response shows its shape with placeholder values.
Served by
| @evolve-framework/commercetools | Resolved |
| @evolve-framework/medusa | Resolved |
| @evolve-framework/sfcc | Stub: answers Not implemented |
Used by
The storefront packages that send it, in these GraphQL documents:
- @evolve-storefront/feature-account:
CustomerAddressDelete

