Check Username Availability
Request Parameters:
URL: ../Api/Client/CheckUsernameAvailability
Header:
Content-Type: application/json
Case-1. Username Exist for another user :
Parameter:
{
"UserName":"steve_gates@nopCommerce.com",
"CustomerGUID":"4fe10275-919d-4cbe-bdad-dfa9ea68e5d7",
"ApiSecretKey":"f120v117p106g101i99w120p118y100"
}
Response :
{
"Available": false,
"Message": "Username not available"
}
Case-2. Same Username:
Parameter:
{
"UserName":"admin@yourStore.com",
"CustomerGUID":"4fe10275-919d-4cbe-bdad-dfa9ea68e5d7",
"ApiSecretKey":"f120v117p106g101i99w120p118y100",
"LanguageId": "1"
}
Response :
{
"Available": false,
"Message": "Current username"
}
Case-3. Success Response :
Parameter:
{
"UserName":"yourStorecom",
"CustomerGUID":"4fe10275-919d-4cbe-bdad-dfa9ea68e5d7",
"ApiSecretKey":"f120v117p106g101i99w120p118y100",
"LanguageId": "1"
}
Response :
{
"Available": true,
"Message": "Username available"
}