Appearance
confirmPasswordReset
Definition
Confirm a customer's password reset. Set new password for account.
Signature
ts
export async function confirmPasswordReset(
params: {
newPassword: string;
hash: string;
[key: string]: unknown; // additional params
},
contextInstance: ShopwareApiInstance = defaultInstance
): Promise<void>
Parameters
| Name | Type | Description |
|---|---|---|
| params | {
newPassword: string;
hash: string;
[key: string]: unknown; // additional params
} | new password and hash |
| contextInstance | ShopwareApiInstance |
Return type
ts
Promise<void>
Properties
| Name | Type | Description |
|---|
Usage example
WARNING
Example is generated automatically. Sometimes it's required to be adjusted to your needs.