Skip to content

customerPasswordUpdate

Mutationin Authentication

Update customer password (requires current password for verification)

Arguments

ArgumentTypeDescription
passwordString!
newPasswordString!

Returns

CustomerPasswordUpdateResponse!

FieldTypeDescription
customerCustomerUpdated 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
}
}
}
}

The query is the example the schema documents. The response shows its shape with placeholder values.

Served by

@evolve-framework/commercetoolsResolved
@evolve-framework/medusaResolved
@evolve-framework/sfccStub: answers Not implemented

Used by

The storefront packages that send it, in these GraphQL documents: