curl --request POST \
--url https://storekit.samarthh.me/v1/store/{storeId}/auth/verify-otp \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"otp": "123456"
}
'Verify OTP and authenticate as store user. Session cookie is set. Requires storeId in URL.
curl --request POST \
--url https://storekit.samarthh.me/v1/store/{storeId}/auth/verify-otp \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"otp": "123456"
}
'