Every mutating endpoint on Stella accepts anDocumentation Index
Fetch the complete documentation index at: https://docs.stella-commerce.com/llms.txt
Use this file to discover all available pages before exploring further.
Idempotency-Key
header. Replays of the same key within 24 hours return the cached
response from the first call — same status code, same body, byte for
byte.
This makes flaky-network retries safe (you’ll never double-charge a
customer) and is essential for AI agents whose tool-use loops often
include retry-on-error logic.
How to use it
Generate a UUID per logical operation. Attach it to every mutation that’s part of that operation. Retries reuse the same key.Lifetime
Cached responses live 24 hours, then a daily cleanup task deletes them. After that window, the same key is treated as a fresh request.Where it’s required
- All
POST,PATCH,DELETEon/api/storefront/cart/*,/api/storefront/customer/*,/api/agent/*. - Webhook delivery retries (Stella adds the key automatically — your receiver just needs to be idempotent).
Where it’s optional
GETrequests (idempotent by definition)./api/dashboard/*(merchant-trusted)./api/sync/*(Zunkiree integration).
400 Bad Request with error: "idempotency_key_required".