Forgot Password
Send Reset Password Link Via Email Using API
This method allows you to include a "Forgot Password?" option inside of your application. Once a user enters their email address, you must use this method to begin the process. When the API method is processed, the ProductDyno system will send the "Reset Password" email you have configured in the Customize->Emails screen for your product or collection.
In order to actually reset the user's password, you will need to replace the in the pre-configured "Reset Password" email with a custom link to your application where you would have the user enter a password (or continue with the "Reset Password" method using a password your system automatically creates). You'll need to send the actual reset_code from the email, and you can do this by using the shortcode we provide in the Customize->Emails screen. You would create a custom link - passing the reset_code to your application so that you may grab it and send it with the "Reset Password" method.
For Example:
PATH
https://app.productdyno.com/api/v1/members/forgot-password
METHOD
POST
PARAMETERS
_api_key email product_id OR collection_id
EXAMPLE JSON RESPONSE
{ "success": true, "message": "Reset password email sent." }