Skip to main content
POST
/
dev
/
v1
/
oauth
/
authorize
Confirm OAuth app authorization
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"
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Body

response_type
enum<string>
required
Available options:
code
client_id
string
required
redirect_uri
string
required
scope
string
state
string

Response

200 - application/json

Successful response

data
object