Base URL
OAuth endpoints
These endpoints handle authentication and token management for your app.User login
{"email", "password"}) and returns {"data": {"access_token", "refresh_token", "expires_in", ...}}. The access_token is the dashboard user JWT required by the install endpoints below — app access tokens and personal access tokens are rejected there. Refresh with POST /v1/auth/refresh {"refreshToken"}. See Installing Your App.
Install an app (authorize/approve)
Response:
{"data": {"code": "...", "redirectUri": "https://...?code=..."}}. Full walkthrough and error table: Installing Your App.
To preview an app’s consent payload first: POST /v1/oauth/authorize with {"clientId", "redirectUri"} (same auth).
Exchange tokens
Response:
Revoke a token
Response:
200 OK on success.
Verify session token
Response:
This endpoint is rate-limited to 30 requests per minute per IP address.
Using access tokens
Once you have an access token, include it in theAuthorization header of every API request:
Available APIs
With a valid access token, you can access these OrderProtection APIs:Orders
Read and manage orders. Requires
order:read or order:update scope.Claims
Read and manage claims. Requires
claim:read, claim:update, or claim:manage scope.Products
Read and manage products. Requires
product:read or product:update scope.Fulfillments
Read and manage fulfillments. Requires
order:read scope.Partner API (v2)
Manage settings, pricing rules, quotes, widgets, and A/B-test contexts via OAuth. Partner-only endpoints under
/v2.
