Admin API
The Admin API is how a shop is run: its products and stock, orders and fulfilments, customers, discounts, content, themes and settings. Kaladan’s own admin is built on it, and so is every app a merchant installs.
POST {shop}.kaladan.store/admin/api/2026-10/graphqlWho calls it
Section titled “Who calls it”| Caller | Credential |
|---|---|
| A merchant or their staff, in Kaladan’s admin | A staff session |
| An installed app | An app access token from OAuth, as Authorization: Bearer … |
There is no browser access from other sites: the Admin API sends no CORS headers, and every token it accepts must stay on a server.
What it enforces
Section titled “What it enforces”- The shop is the host. The shop is read from the host and must match the
token, or the answer is
401. - Scopes per field. Each field names the scopes it needs.
A query that reaches outside the grant is refused whole with
SCOPE_ESCALATION, listing what was missing. - A staff member’s token is never more than the staff member. An app’s online token is limited to what both the app and that person may do.
- Cost. The same bucket as every API: 2,000 points, refilling 100 a second. See Errors and limits.
Long-running work
Section titled “Long-running work”Imports, exports and bulk updates run as jobs: the mutation starts one and
returns at once. Subscribe to the job/completed webhook
rather than polling for the result.
Conventions
Section titled “Conventions”Every convention holds here: rial amounts as decimal strings,
UTC timestamps, province and city codes, user errors on a 200, and cursors
that are retired when you change the sort.