Check if given email is associated with a customer account in given website
Check if given email is associated with a customer account in given website.
POST /V1/customers/isEmailAvailable
curl \
-X POST https://magento2.winkelstraat.mac/rest/all/V1/customers/isEmailAvailable \
-d '{"customerEmail":"string","websiteId":42}'
Request examples
{
"customerEmail": "string",
"websiteId": 42
}
Response examples (200)
true
Response examples (500)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}
Response examples (default)
{
"message": "string",
"errors": [
{
"message": "string",
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
]
}
],
"code": 42,
"parameters": [
{
"resources": "string",
"fieldName": "string",
"fieldValue": "string"
}
],
"trace": "string"
}