POST
/
auth
/
forgot-password
curl --request POST \
  --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/auth/forgot-password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "<string>",
  "phone": "<string>",
  "country_code": "<string>"
}'
{
  "message": "<string>",
  "success": true,
  "content": {
    "otp_token": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Access token

Body

application/json

Response

200 - application/json
OK

The response is of type object.