ReDoc documentation

customer/{customerId}/otp

customer/{customerId}/otp

Generate a one-time password for the customer identified by ID. The OTP can be used with the exchangeOtpForCustomerToken GraphQL mutation. Returns a successful response even when the customer does not exist (prevents user enumeration).

Request
path Parameters
customerId
required
integer
Request Body schema:
reason
string
Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

post/V1/customer/{customerId}/otp
Request samples
{
  • "reason": "string"
}
Response samples
{
  • "otp": "string"
}