StateSet One API
StateSet One is the commerce operating system underneath orders, inventory, returns, logistics, and finance. Everything the platform does is available over this API. This page is the contract: how to authenticate, what a response looks like, and what happens when something goes wrong.Base URL
Authenticate
Every request needs an API key in theAuthorization header.
Your first request
List recent orders:Send an
Idempotency-Key on every write. A retried request with the same key replays the original
result instead of creating a second order — which matters more than usual when an agent is doing
the retrying.Errors
Failures return a structured envelope, not a bare string:code, not on message — messages are for humans and may be reworded. Log
request_id; it’s what support needs to trace a specific call.
Full catalogue in Errors.
Rate limits
Responses carry your current budget:
Read
X-RateLimit-Remaining and back off before you’re throttled rather than after. Details in
Rate limiting.
Beyond REST
GraphQL supports remote data joins, so a single query can span sources that live in different
systems.
What the platform covers
Workflow orchestration runs on Temporal, so long-running operations are
durable rather than best-effort.
SDKs
Official clients wrap auth, retries, and pagination — see SDKs.Next
Quickstart
A working request in a few minutes.
Authentication
Keys, JWT, and OAuth 2.0.
Errors
Every code and what to do about it.
Integrations
186 native integrations.