Skip to main content

requestCustomerOtp

Public: no authentication required.

Sends a 6-digit OTP to an existing, active customer's email.

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 RequestCustomerOtp($input: RequestCustomerOtpInput!) {
requestCustomerOtp(input: $input)
}

Variables:

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

Response:

{
"data": {
"requestCustomerOtp": true
}
}
requestCustomerOtp(
input: RequestCustomerOtpInput!
): Boolean!

Arguments​

requestCustomerOtp.input ● RequestCustomerOtpInput! non-null input​

The details of the request customer otp request.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.