Skip to main content

mobileVerifyRegistrationOtp

Public: no authentication required.

Verify a buyer registration OTP WITHOUT creating an account or issuing tokens — the step before the create-account form. Returns true/false; mobileRegisterBuyer re-checks the same code as proof this step was passed. Named mobile* because the auth module already owns a DIFFERENT verifyRegistrationOtp (staff, token-returning) and GraphQL field names are global.

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 MobileVerifyRegistrationOtp($input: VerifyEmailOtpInput!) {
mobileVerifyRegistrationOtp(input: $input)
}

Variables:

{
"input": {
"code": "string",
"email": "string"
}
}

Response:

{
"data": {
"mobileVerifyRegistrationOtp": true
}
}
mobileVerifyRegistrationOtp(
input: VerifyEmailOtpInput!
): Boolean!

Arguments​

mobileVerifyRegistrationOtp.input ● VerifyEmailOtpInput! non-null input​

The details of the verify email otp request.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.