Skip to content
Select theme
Light
Dark
Auto
Select language
English
فارسی

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/graphql
CallerCredential
A merchant or their staff, in Kaladan’s adminA staff session
An installed appAn 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.

  • 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.

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.

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.