customerEmailUpdate
Update customer email address (requires password for verification)
Arguments
| Argument | Type | Description |
|---|---|---|
email | EmailAddress! | |
password | String! |
Returns
| Field | Type | Description |
|---|---|---|
customer | Customer | Updated customer account information |
customerErrors | [CustomerEmailUpdateError!] | Error details if email update failed |
Example
mutation { customerEmailUpdate( email: "newemail@example.com" password: "currentPassword123" ) { customer { id email } customerErrors { ... on ValidationError { message } } }}{ "data": { "customerEmailUpdate": { "customer": { "id": "id-1", "email": "jane@example.com" }, "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:
CustomerEmailUpdate

