Request Parameters:


Check customer EmailId is exist in nopCommerce or not.


URL: ../Api/Client/CheckEmailIdAvailability


Header:

Content-Type:application/json

Required Parameters : EmailId


Case-1. Validating parameters :
Parameter:

{    

     "ApiSecretKey":"i99b98d117m116a112o98k115c111",

     "LanguageId": "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",

       "LanguageId": "1",

     "EmailId":"test@abc.com"

}
Response :
{

    "Status": 0,

    "Message": "Customer not exist.",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}


Case-3. Success Response :
Parameter:
{    

     "ApiSecretKey":"i99b98d117m116a112o98k115c111",

       "LanguageId": "1",

     "EmailId":"arthur_holmes@nopCommerce.com"

}
Response :

{

    "Status": 1,

    "Message": "Customer exist.",

    "Data": null,

    "ValidationMessage": [],

    "ErrorMessage": null

}