Skip to content
Elara One docs

API reference

Every Storefront API and Merchant API endpoint, generated from the engine's own OpenAPI document.

The reference is generated from the OpenAPI document the Elara One engine produces from its own code, so it matches what the API does. Each page shows the request, its headers and body, example code and every response.

https://api.elaraone.app/api/v1

Two APIs, one base URL

DetailStorefront APIMerchant API
Paths/v1/products, /v1/cart, /v1/checkout/…/v1/merchant/…
Called byYour storefront serverYour integrations and back-office jobs
CredentialsStore key and server secret; a customer token on account routesStore key and server secret, plus a merchant API key as a bearer token

Every call carries X-Tenant-Key, and every call from a server also carries X-Tenant-Secret. See Authentication.

Shared behaviour

  • Responses wrap their payload in data. Lists add links and meta for pagination.
  • Errors are { "error": { "code", "message", "details" } }, with a stable code to branch on. See Errors.
  • Money is { "amount", "currency", "formatted" } with amount in minor units. See Money.
  • Writes you might retry take an Idempotency-Key. See Idempotency keys.
  • Rate limits are reported in X-RateLimit-Limit, X-RateLimit-Remaining and Retry-After. See Rate limits.
  • Times are ISO 8601 in UTC.

Use it with your tools

The OpenAPI document behind this reference is at /api/openapi/storefront: import it into Postman, Insomnia or a client generator. Every reference page also has a Markdown copy at its URL plus .md, and /llms-full.txt includes the whole reference for AI tools.

Changes to the API are announced in the changelog. See Versioning for what we treat as a breaking change.