customerDelete
Delete the current customer account (requires password confirmation)
Arguments
| Argument | Type | Description |
|---|---|---|
password | String! |
Returns
| Field | Type | Description |
|---|---|---|
success | Boolean! | Indicates if the deletion was successful |
customerErrors | [CustomerDeleteError!] | Error details if deletion failed |
Example
mutation { customerDelete(password: "currentPassword123") { success customerErrors { ... on ValidationError { message } } }}{ "data": { "customerDelete": { "success": true, "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:
CustomerDelete

