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":"",
"LanguageId":"1"
}
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",
"LanguageId":"1"
}
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",
"LanguageId":"1"
}
Response :
{
"Status": 1,
"Message": "Email with instructions has been sent to you.",
"Data": null,
"ValidationMessage": [],
"ErrorMessage": null
}