Skip to main content

mobileCheckBuyerExists

Public: no authentication required.

Email-entry probe: true → route to OTP login (existing customer); false → route to the Sign Up / registration screen.

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:

query MobileCheckBuyerExists($input: CheckBuyerExistsInput!) {
mobileCheckBuyerExists(input: $input) {
exists
selfRegistrationEnabled
}
}

Variables:

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

Response:

{
"data": {
"mobileCheckBuyerExists": {
"exists": true,
"selfRegistrationEnabled": true
}
}
}
mobileCheckBuyerExists(
input: CheckBuyerExistsInput!
): BuyerExistsResponse!

Arguments​

mobileCheckBuyerExists.input ● CheckBuyerExistsInput! non-null input​

The details of the check buyer exists request.

Type​

BuyerExistsResponse object​

Whether a buyer account exists for an email address. If it does, the app goes to the one-time code sign in, otherwise to sign up.