ReDoc documentation
Generate a one-time password for the customer identified by email. The OTP can be used with the exchangeOtpForCustomerToken GraphQL mutation. Returns a successful response even when the customer does not exist (prevents user enumeration).
200 Success.
401 Unauthorized
Unexpected error
{- "email": "string",
- "reason": "string"
}{- "otp": "string"
}