Forget Password
Request Parameters:
Customer will get mail if they are forgot password.
URL ../Api/Client/PasswordRecovery
Header:
Content-Type:application/json
Required Parameters : EmailId
Case-1. Validating parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"storeId":"1",
"EmailId":""
}
Response :
{
"Status": 2,
"Message": "Invalid parameters.",
"Data": null,
"ValidationMessage": [
"The EmailId field is required."
],
"ErrorMessage": null
}
Case-2. Incorrect parameters :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"storeId":"1",
"EmailId":"Davidgmail.com"
}
Response :
{
"Status": 0,
"Message": "Email not found.",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}
Case-3. Success response :
Parameter:
{
"ApiSecretKey":"i99b98d117m116a112o98k115c111",
"storeId":"1",
"EmailId":"David@gmail.com"
}
Response :
{
"Status": 1,
"Message": "Email with instructions has been sent to you.",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}