Request Parameters:


For get the value of setting key


URL: ../Api/Client/ExternalAuthentication


Header:

Content-Type:application/json


Parameter:
{
       "ApiSecretKey":"d101g114q119n106g97y111j112d104",
       "CustomerGUID":"F1F13527-BA8E-4C5A-ACA2-9EC3D78B3FF4",
       "StoreId": "1",
       "LanguageId": "1",
       "ResponseEmailAddress": "hardik.soneji@support.xcellence-it.com",
       "ResponseFirstName": "hardik",
       "ResponseLastName": "soneji",
       "ResponseUserName": "hardiksoneji",
       "ExternalAuthenticationParameter":
       {
         "ProviderSystemName": "ExternalAuth.Facebook",
         "Email": "hardik.soneji@support.xcellence-it.com",
         "ExternalIdentifier": "1453178781669014",
         "ExternalDisplayIdentifier": "",
         "OAuthToken": "",
         "OAuthAccessToken": "1453178781669014"
       }        
}


[Note: If you are a guest customer pass "CustomerGUID":"00000000-0000-0000-0000-000000000000",then in response you will get your Guest CustomerId]


Response:
{        
"Id": 0,
"Message": "User already registered",          
"CustomerEmail": "brenda_lindgren@nopCommerce.com",
"CustomerId": 5,
"Errors": null,
"IsValid": false,
"Name": "Brenda Lindgren",
"ProviderSystemName": null,
"Username": "brenda_lindgren@nopCommerce.com"
   }