Path:
PATCH /auth/local/reset/token
To prevent a common pitfall of cart abandonment due to password reset issues, we offer a simple and straightforward option to reset password. Customers will receive a reset password link in their email associated with their username. By clicking the link, they can go ahead to change their password through the Update Password endpoint.
Content-Type: application/json
application/json
application/json
Type: Body
Name: email
Required: true
{"username" : "johndoe@fabric.inc",}
HTTP Code : 200 Message : OK
Description: You will see this message when the password reset is initiated (link is sent to the user's registered email address).
Sample
{"name": "John Doe","resetLink": "http://localhost:3000/resetpassword/5e97e4873cb8553c0e43d88e","email": "johndoe@fabric.inc","emailSent": true}
HTTP Code : 404 Message : Not Found
Description: You'll see this message when the email address provided is incorrect.
Sample
{"code": "USER_NOT_FOUND","message": "User not found."}
Last updated - July 2020