@plentymarkets/shop-api / doRequestResetPasswordLink
Function: doRequestResetPasswordLink() ​
doRequestResetPasswordLink(
context
,params
):Promise
<Data
<null
>>
Defined in: api/doRequestResetPasswordLink/index.ts:25
Method doRequestResetPassword - Sends out a reset password link to the provided email if its a valid user
Parameters ​
context ​
PlentysystemsIntegrationContext
params ​
Returns ​
Promise
<Data
<null
>>
Remarks ​
- Calls rest/storefront/contact/password/email
- This method is used to request a password reset link via email
Example ​
ts
const { data } = await useSdk().plentysystems.doRequestResetPasswordLink({
email: examplemail@example.test
});