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

Authorizations

Authorization
string
header
required

Access token

Body

application/json

Response

200
application/json
OK

The response is of type object.