customerPasswordUpdate
Update customer password (requires current password for verification)
Arguments
| Argument | Type | Description |
|---|---|---|
password | String! | |
newPassword | String! |
Returns
CustomerPasswordUpdateResponse!
| Field | Type | Description |
|---|---|---|
customer | Customer | Updated customer account information after password reset |
customerErrors | [CustomerPasswordUpdateError!] | Error details if the password update failed |
Example
mutation { customerPasswordUpdate( password: "currentPassword123" newPassword: "newSecurePassword456" ) { customer { id email } customerErrors { ... on ValidationError { message } } }}{ "data": { "customerPasswordUpdate": { "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:
CustomerPasswordUpdate

