Skip to main content

checkCustomerExists

Public: no authentication required.

Email-entry existence probe: routes the portal login screen to OTP-request (exists) or registration (not exists). Boolean-only — never leaks account status.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation CheckCustomerExists($input: CheckCustomerExistsInput!) {
checkCustomerExists(input: $input) {
exists
selfRegistrationEnabled
}
}

Variables:

{
"input": {
"email": "string"
}
}

Response:

{
"data": {
"checkCustomerExists": {
"exists": true,
"selfRegistrationEnabled": true
}
}
}
checkCustomerExists(
input: CheckCustomerExistsInput!
): CustomerExistsResponse!

Arguments​

checkCustomerExists.input ● CheckCustomerExistsInput! non-null input​

The details of the check customer exists request.

Type​

CustomerExistsResponse object​

Whether a customer account exists.