Returned when the current password of the Customer does not match.

The error is returned as a failed response to:

- [Change Customer Password](/../api/projects/customers#change-password-of-customer) and [Change Customer Password in a Store](/../api/projects/customers#change-password-of-customer-in-store) requests on Customers.
- [Change Customer Password](/../api/projects/me-profile#change-password-of-customer) and [Change Customer Password in a Store](/../api/projects/me-profile#change-password-of-customer-in-store) requests on My Customer Profile.
interface InvalidCurrentPasswordError {
    code: "InvalidCurrentPassword";
    message: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

Properties

code: "InvalidCurrentPassword"
message: string

"The given current password does not match."

Generated using TypeDoc