Skip to content

Guides

OpenAPI

An OpenAPI 3.1 document describes all 116 operations, generated from the same definitions that serve the API, so it never drifts.

The document

URL
https://3commerce.com/api/v1/openapi.json

Each operation carries its scope under security, an example response, and its MCP tool name in x-mcp-tool.

Postman and Insomnia

In Postman, choose Import and paste the URL. In Insomnia, create a document from a URL. Then set a bearer token auth on the collection with your 3c_live_ key, and every request inherits it.

Generating a client

Any OpenAPI generator works. For typed TypeScript calls:

Terminal
npx openapi-typescript https://3commerce.com/api/v1/openapi.json -o 3commerce.d.ts