Documentation
Build on Elara One
One REST API for the catalogue, cart, checkout, CRM and forms behind your site. Start with a five-minute quickstart, then go as deep as you need.
# 1. Create a cart
curl -X POST https://api.elaraone.app/api/v1/cart \
-H "X-Tenant-Key: $ELARAONE_TENANT_KEY" \
-H "X-Tenant-Secret: $ELARAONE_TENANT_SECRET"
# 2. Add a line, safe to retry
curl -X POST https://api.elaraone.app/api/v1/cart/lines \
-H "X-Tenant-Key: $ELARAONE_TENANT_KEY" \
-H "X-Tenant-Secret: $ELARAONE_TENANT_SECRET" \
-H "X-Cart-Token: $CART_TOKEN" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{ "sku": "LAMP-OAK-NAT", "quantity": 1 }'const API = 'https://api.elaraone.app/api/v1'
const headers = {
'X-Tenant-Key': process.env.ELARAONE_TENANT_KEY!,
'X-Tenant-Secret': process.env.ELARAONE_TENANT_SECRET!,
}
// 1. Create a cart
const { data } = await fetch(`${API}/cart`, { method: 'POST', headers })
.then((r) => r.json())
// 2. Add a line, safe to retry
const cart = await fetch(`${API}/cart/lines`, {
method: 'POST',
headers: {
...headers,
'X-Cart-Token': data.cart_token,
'Idempotency-Key': crypto.randomUUID(),
'Content-Type': 'application/json',
},
body: JSON.stringify({ sku: 'LAMP-OAK-NAT', quantity: 1 }),
}).then((r) => r.json())
console.log(cart.data.total.formatted) // "£89.00"Where to start
Storefronts
Build a shop on the Storefront API
Catalogue, search, cart and checkout with Stripe or PayPal on your own accounts. Server-rendered, in any framework.
Leads and integrations
Capture leads and connect your systems
Forms that open leads in the CRM, web chat, automation flows, the Merchant API and signed webhooks.
Browse the docs
From your first call to the full reference, and what changed since.
What Elara One is, your keys, and a first order in five minutes.
How the API thinks: stores, money, carts, checkout and errors.
Step-by-step builds for the pages every shop and service site needs.
Signed events when CRM records change, delivered at least once.
Every Storefront and Merchant API endpoint, generated from OpenAPI.
What changed in the API and the admin, newest first. Breaking changes are flagged.
See what shipped
Start from a working shop
MIT-licensed starter storefronts with search, cart, Stripe checkout, accounts and a consent banner. Public at launch.
Built for AI tools
Every page has a Markdown copy at its URL plus .md, and a Copy page button for your assistant.