Skip to main content

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 the Authorization header.
API keys, JWT tokens, and OAuth 2.0 are all supported — see Authentication for when to use which.
Treat a key as a credential for your whole account. Keep it server-side, never in browser or mobile code, and issue a separate key per consumer so you can revoke one without breaking everything else.

Your first request

List recent orders:
Create one:
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:
Branch on 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.