@plentymarkets/shop-api / doResetPassword
Function: doResetPassword() ​
Defined in: api/doResetPassword/index.ts:29
Method doResetPassword - Resets the password to a newly chosen one
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
Returns ​
Remarks ​
- Calls rest/storefront/contact/password/reset
- This method is used to reset the password
Example ​
ts
const { data } = await useSdk().plentysystems.doResetPassword({
password: newtestpw,
password2: newtestpw,
contactId: 12,
hash: [example hash],
});