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

Access scopes

An app can do only what its merchant approved, and it approves scopes: one word per kind of thing, to read or to write. They are the same words Kaladan uses for staff permissions, so what an app asks for, what a merchant sees on the approval page and what the Admin API enforces are one list.

  • Declared on a version. requestedScopes on an app version is the whole list. There is no asking for more at runtime: publish a new version, and each merchant re-approves it.
  • Checked per field. Every Admin API field names the scopes it needs. A field that needs two needs both.
  • Refused whole. A query touching one field outside the grant is refused with SCOPE_ESCALATION before anything runs, and missing lists which scope each field needed.
  • Write includes read, for the same resource only. WRITE_INVENTORY alone satisfies a field that needs READ_INVENTORY. Nothing reaches across resources: WRITE_ORDERS reads no customers.
  • Ask for the least you need. Every scope is shown to the merchant in plain words, and an app asking for its customers when it syncs stock will be installed less.
AreaReadWrite
Products and variantsREAD_PRODUCTSWRITE_PRODUCTS
StockREAD_INVENTORYWRITE_INVENTORY
LocationsREAD_LOCATIONSWRITE_LOCATIONS
Delivery and shippingREAD_SHIPPINGWRITE_SHIPPING
OrdersREAD_ORDERSWRITE_ORDERS
Draft ordersREAD_DRAFT_ORDERSWRITE_DRAFT_ORDERS
CheckoutsREAD_CHECKOUTSWRITE_CHECKOUTS
FulfilmentsREAD_FULFILLMENTSWRITE_FULFILLMENTS
CustomersREAD_CUSTOMERSWRITE_CUSTOMERS
DiscountsREAD_DISCOUNTSWRITE_DISCOUNTS
Price listsREAD_PRICE_LISTSWRITE_PRICE_LISTS
Payments and refundsREAD_PAYMENTSWRITE_PAYMENTS
Pages, blogs and menusREAD_CONTENTWRITE_CONTENT
ThemesREAD_THEMESWRITE_THEMES
Sales channelsREAD_CHANNELSWRITE_CHANNELS
Custom data (metaobjects)READ_METAOBJECTSWRITE_METAOBJECTS
FilesREAD_FILESWRITE_FILES
TaxREAD_TAXWRITE_TAX
PayoutsREAD_PAYOUTS—
MarketingREAD_MARKETING—
AnalyticsREAD_ANALYTICS—
Shop settingsREAD_SHOP_SETTINGS—
StaffREAD_STAFF—
Installed appsREAD_APPS—
Audit logREAD_AUDIT_LOG—

Some permissions stay with the merchant’s own people. No app can change billing, installed apps, staff, or payouts, and changing shop settings and marketing is held back for now. Their write scopes do not exist in the list above, so no version can declare them.

Webhook payloads and Admin API answers are cut to the grant: a field the app may not read is absent, not null. A buyer’s phone number in particular reaches only an app holding READ_CUSTOMERS. Every app gets a stable phoneFingerprint instead, so it can recognise a returning buyer without being sent their number.