curl --request POST \
--url https://api.myscalev.com/v3/stores/{store_id}/public/auth/otp/verify \
--header 'Content-Type: application/json' \
--header 'X-Scalev-Storefront-Api-Key: <x-scalev-storefront-api-key>' \
--data '
{
"email": "jsmith@example.com",
"otp": "<string>",
"login_as": "customer"
}
'{}No OAuth machine scope. Public storefront endpoint.
curl --request POST \
--url https://api.myscalev.com/v3/stores/{store_id}/public/auth/otp/verify \
--header 'Content-Type: application/json' \
--header 'X-Scalev-Storefront-Api-Key: <x-scalev-storefront-api-key>' \
--data '
{
"email": "jsmith@example.com",
"otp": "<string>",
"login_as": "customer"
}
'{}Publishable storefront public API key for the target store.
Store unique_id.
Success
Raw single-resource success payload for v3.