API for developers
The public API of Storekeeper is a thin, well-shaped REST surface over the platform. One token, flat responses, an OpenAPI spec, and a live reference you can call from the browser. No SDK required — though we generate one for your language anyway.
Auth in three calls
Exchange your Storekeeper login for a 30-minute bearer token.
Add Authorization: Bearer <token> to every other request.
GET /api/me resolves the token to account, roles, and locked location.
# 1. get a token
curl -s https://api.storekeeper.me/api/auth/login \
-H 'Content-Type: application/json' \
-d '{"account":"demo","email":"you@example.com","password":"..."}'
# { "token": "...", "expires_in": 1800 }
# 2. call an endpoint
curl -s "https://api.storekeeper.me/api/orders?from=2026-07-01&limit=25" \
-H "Authorization: Bearer $TOKEN"
# 3. who am i
curl -s https://api.storekeeper.me/api/me \
-H "Authorization: Bearer $TOKEN"
The surface
Plus shops, tax-rates, turnover-groups, payment-methods, and locations to resolve the ids reports emit. Full list in the reference.
Conventions
YYYY-MM-DD in Europe/Amsterdam. Ranges inclusive._wt = incl. VAT, plain/_ex = excl. VAT.{count, total, data}; paginated add {start, limit}.{error, message, status}: 400 / 401 / 404 / 502.Access & limits
Tokens are short-lived (30 minutes); re-authenticate or refresh. Every call acts as you, on your account, within your rights.
The interactive reference lets you authorize and fire real requests from the browser. The guide walks the common flows end to end.
API voor ontwikkelaars
De publieke API van Storekeeper is een dun, goedgevormd REST-oppervlak over het platform. Eén token, platte responses, een OpenAPI-spec en een live referentie die je vanuit de browser kunt aanroepen. Geen SDK nodig — maar we genereren er toch één voor je taal.
Auth in drie aanroepen
Wissel je Storekeeper-login in voor een bearer-token van 30 minuten.
Voeg Authorization: Bearer <token> toe aan elk ander verzoek.
GET /api/me vertaalt de token naar account, rollen en vaste locatie.
# 1. haal een token op
curl -s https://api.storekeeper.me/api/auth/login \
-H 'Content-Type: application/json' \
-d '{"account":"demo","email":"you@example.com","password":"..."}'
# { "token": "...", "expires_in": 1800 }
# 2. roep een endpoint aan
curl -s "https://api.storekeeper.me/api/orders?from=2026-07-01&limit=25" \
-H "Authorization: Bearer $TOKEN"
# 3. wie ben ik
curl -s https://api.storekeeper.me/api/me \
-H "Authorization: Bearer $TOKEN"
Het oppervlak
Plus shops, tax-rates, turnover-groups, payment-methods en locations om de ids te vertalen die rapporten teruggeven. Volledige lijst in de referentie.
Conventies
JJJJ-MM-DD in Europe/Amsterdam. Bereiken inclusief._wt = incl. btw, zonder/_ex = excl. btw.{count, total, data}; gepagineerd voegt {start, limit} toe.{error, message, status}: 400 / 401 / 404 / 502.Toegang & limieten
Tokens zijn kortlevend (30 minuten); log opnieuw in of ververs. Elke aanroep handelt namens jou, op jouw account, binnen je rechten.
Met de interactieve referentie kun je autoriseren en echte verzoeken vanuit de browser afvuren. De gids loopt de veelvoorkomende flows van begin tot eind door.