EZCart Docs
ApiV1StoreAuthOtpRequest

Request an OTP to be sent to phone or email

Request an OTP to be sent to phone or email. Returns a verificationId to use with the verify endpoint.

POST
/v1/store/auth/otp/request

Request Body

application/json

phone?string
email?|

Response Body

application/json

curl -X POST "https://api-pub.ezcart.io/v1/store/auth/otp/request" \  -H "Content-Type: application/json" \  -d '{}'
{
  "verificationId": "string",
  "expiresAt": "2019-08-24T14:15:22Z"
}