Login
Request Parameters:
URL : ../Plugins/XcellenceIt.Plugin.Misc.NopRestApi/RemoteService/WebService.svc/Login
Parameter:
{
"apiSecretKey":"r102x99g112u110t118p105k109c105",
"storeId":"1",
"userName":"admin@yourStore.com",
"password":"admin",
"isGuestCustomerId":"1"
}
[Note: isGuestCustomerId parameter is used for migrating shopping cart
=>If no one logged-in then Pass parameter 0 .
=>Pass GuestCustomerId when need to migrate guest customer to login customer cart]
Response :
=>If License Key is not active it will response with below result:
{
"LoginResult":
{
"CustomerId": 0,
"EmailId": null,
"IsValid": false,
"Message": "License key not active",
"RememberMe": false,
"UserName": null
}
}
=>If Login is Successful it will response with following parameter:
{
"LoginResult":
{
"CustomerId": 1,
"EmailId": "admin@yourstore.com",
"IsValid": true,
"Message": "Login Success",
"RememberMe": false,
"UserName": "admin@test123.in"
}
}