🚀 New: Theme Control Plane API — build, customize, and deploy themes programmatically. Learn more →
curl --request POST \
--url https://api.shoppex.io/dev/v1/oauth/authorize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"response_type": "code",
"client_id": "shoc_demo",
"redirect_uri": "https://erp.example.com/callback",
"scope": "orders.read",
"state": "state_1"
}
'{
"redirect_url": "https://erp.example.com/callback?code=shoa_code_1&state=state_1"
}Developer API operation for POST /dev/v1/oauth/authorize.
curl --request POST \
--url https://api.shoppex.io/dev/v1/oauth/authorize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"response_type": "code",
"client_id": "shoc_demo",
"redirect_uri": "https://erp.example.com/callback",
"scope": "orders.read",
"state": "state_1"
}
'{
"redirect_url": "https://erp.example.com/callback?code=shoa_code_1&state=state_1"
}Use your Shoppex API key in the Authorization header.
Successful response