v2 is generally available. See what changed
Skip to content
Acme Commerce API Menu

Acme Commerce API

Everything you need to sell: customers, orders, refunds, the product catalogue and webhooks. REST over HTTPS, JSON in and out, bearer-token authenticated.

This API serves 2 versions: v2 (current), v1 (deprecated). Write new integrations against v2.

Version
2.4.1
Base URL
https://api.acme.example
Endpoints
24

For machines

Every page here is also available in a form an agent or a crawler can read directly.

openapi.json
OpenAPI 3.1, so generated clients get real JSON Schema.
llms.txt
A one-line-per-endpoint index for retrieval models.
llms-full.txt
The entire API as Markdown in one file.
/.well-known/api-docs
Discovery, from one guessable URL.

Ask ChatGPT about this API Ask Claude about this API

Every endpoint page has a Markdown twin: swap .html for .md on any of them.

Getting started

Guides

Authentication (v2)

Exchange an API key pair for a bearer token, and revoke it when you are done.

Customers (v2)

Create and manage the people who place orders.

Orders (v2)

Place, read and refund orders.

Products (v2)

The public product catalogue.

Webhooks (v2)

Receive signed callbacks when things happen in your account.

Authentication (v1)

Unchanged in v2 apart from the path.

Customers (v1)

Reading and creating customers. Updating and deleting them arrived in v2.

Orders (v1)

Placing and reading orders. Refunds arrived in v2.

Products (v1)

The public product catalogue, with the search route v2 replaced.

Free while you are building.

Get an API key