Shop
Address
Section titled “Address”A postal address, shaped the way Iranian addresses are written.
ID!
No description.
firstName
Section titled “firstName”String
No description.
lastName
Section titled “lastName”String
No description.
String
No description.
alternatePhone
Section titled “alternatePhone”String
No description.
company
Section titled “company”String
No description.
province
Section titled “province”Province!
No description.
City!
No description.
district
Section titled “district”String
No description.
addressLine
Section titled “addressLine”String!
No description.
plaque
Section titled “plaque”String
No description.
String
No description.
String
No description.
postalCode
Section titled “postalCode”String
No description.
latitude
Section titled “latitude”Float
No description.
longitude
Section titled “longitude”Float
No description.
formatted
Section titled “formatted”[String!]!
Composed into display lines, in the order Iranian addresses are written.
| Argument | Type | Meaning |
|---|---|---|
withName | Boolean · default false | No description. |
withPhone | Boolean · default false | No description. |
AddressInput
Section titled “AddressInput”An address as supplied. Province and city are codes, never free text.
firstName
Section titled “firstName”String
No description.
lastName
Section titled “lastName”String
No description.
String
No description.
alternatePhone
Section titled “alternatePhone”String
No description.
company
Section titled “company”String
No description.
provinceCode
Section titled “provinceCode”String!
No description.
cityCode
Section titled “cityCode”String!
No description.
district
Section titled “district”String
No description.
addressLine
Section titled “addressLine”String!
No description.
plaque
Section titled “plaque”String
No description.
String
No description.
String
No description.
postalCode
Section titled “postalCode”String
No description.
latitude
Section titled “latitude”Float
No description.
longitude
Section titled “longitude”Float
No description.
AppApproval
Section titled “AppApproval”An approval a merchant is being asked to give: what Kaladan’s approval page shows, and nothing it does not need.
AppApprovalKind!
No description.
AppApprovalApp!
No description.
versionName
Section titled “versionName”String!
The version being approved: the one published when the approval began.
requestedScopes
Section titled “requestedScopes”[AccessScope!]!
Everything the version asks for. A merchant approves all of it or none.
addedScopes
Section titled “addedScopes”[AccessScope!]!
On a re-approval, what the app would gain. Empty on an install.
removedScopes
Section titled “removedScopes”[AccessScope!]!
On a re-approval, what the app would give up. Empty on an install.
missingScopes
Section titled “missingScopes”[AccessScope!]!
What the signed-in person does not hold themselves, and so cannot grant. Approving is refused while this is not empty; an owner can approve.
requiresOfflineAccess
Section titled “requiresOfflineAccess”Boolean!
Whether the app works when nobody is signed in.
synchronousTopics
Section titled “synchronousTopics”[AppApprovalTopic!]!
The synchronous webhooks it joins, which can change what the shop does: a merchant sees what happens when the app is slow before agreeing to it.
dataHandlingDisclosure
Section titled “dataHandlingDisclosure”String
Where the developer says the shop’s data goes.
privacyPolicyUrl
Section titled “privacyPolicyUrl”URL
No description.
expiresAt
Section titled “expiresAt”DateTime!
When this approval stops being answerable.
AppApprovalApp
Section titled “AppApprovalApp”The app an approval is about, as much as the page needs.
handle
Section titled “handle”String!
No description.
String!
No description.
publisherName
Section titled “publisherName”String!
No description.
iconUrl
Section titled “iconUrl”URL
No description.
reviewedByKaladan
Section titled “reviewedByKaladan”Boolean!
False for a custom app, which skips Kaladan’s review: the page says so, and that the merchant is trusting the developer who sent the link.
AppApprovalKind
Section titled “AppApprovalKind”What an approval is for.
| Value | Meaning |
|---|---|
INSTALL | Installing the app. |
REAUTHORIZE | Moving an installed app to a version asking for more, or less. |
AppApprovalPayload
Section titled “AppApprovalPayload”What the approval mutations return.
InstalledApp
The installation, once accepted.
redirectUrl
Section titled “redirectUrl”URL
Where to send the browser next. Null with a userError.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppApprovalTopic
Section titled “AppApprovalTopic”One synchronous topic an app joins, and what happens when it is slow.
String!
checkout/validate, cart/price.
failureMode
Section titled “failureMode”String!
FAIL_OPEN: the shop goes on without the app. FAIL_CLOSED: it stops.
AppAuthorizationInput
Section titled “AppAuthorizationInput”An app’s authorization request, as it reached /oauth/authorize.
clientId
Section titled “clientId”String!
The app’s client id, client_….
redirectUri
Section titled “redirectUri”URL!
One of the redirects the app registered, compared byte for byte.
String!
The app’s own value, returned to it untouched.
codeChallenge
Section titled “codeChallenge”String!
The PKCE challenge. Every app sends one.
codeChallengeMethod
Section titled “codeChallengeMethod”String!
S256, the only method.
AppAuthorizationPayload
Section titled “AppAuthorizationPayload”What appAuthorizationBegin returns: exactly one of the two.
redirectUrl
Section titled “redirectUrl”URL
Where to send the browser now: the app’s redirect, carrying a code.
approvalToken
Section titled “approvalToken”String
The approval to show first, when there is something to approve.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppChargeAcceptPayload
Section titled “AppChargeAcceptPayload”What appChargeAccept returns.
charge
Section titled “charge”InstalledAppCharge
The charge as it stands: pending until its invoice is paid. With a trial it becomes active within moments, once billing has the trial on record.
invoice
Section titled “invoice”PlatformInvoice
The invoice raised for it. Null with a trial, which owes nothing yet.
paymentUrl
Section titled “paymentUrl”URL
The bank’s page, for the invoice’s totalAmount. Null with a trial, and with
a userError.
returnUrl
Section titled “returnUrl”URL
The app’s own address, where the merchant goes when nothing is paid now.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppChargeDeclinePayload
Section titled “AppChargeDeclinePayload”What appChargeDecline returns.
returnUrl
Section titled “returnUrl”URL
The app’s own address, where the merchant goes next. Null with a userError.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppChargeInterval
Section titled “AppChargeInterval”How often a recurring app charge falls due.
| Value | Meaning |
|---|---|
MONTHLY | No description. |
ANNUAL | No description. |
AppChargeKind
Section titled “AppChargeKind”What an app charges for.
| Value | Meaning |
|---|---|
ONE_TIME | Once. |
RECURRING | Every period, until the app cancels it or is removed. |
USAGE | Metered against a cap. Not offered until a prepaid wallet exists; listed so an older charge still reads. |
AppChargeRequest
Section titled “AppChargeRequest”A charge an app is asking this shop to accept: what Kaladan’s charge page shows, and nothing it does not need.
The price is before VAT, and the merchant pays the total, as for a plan: Kaladan sells the app and charges VAT on it at the rate in force when the invoice is raised.
AppApprovalApp!
No description.
String!
What the app calls it. It appears on the invoice.
AppChargeKind!
No description.
amount
Section titled “amount”Money!
The net, before VAT: per period on a recurring charge, or the whole.
vatRate
Section titled “vatRate”Float!
The VAT rate in force now, as a fraction: 0.1 for ten per cent.
vatAmount
Section titled “vatAmount”Money!
VAT on amount, rounded down to a whole rial.
totalAmount
Section titled “totalAmount”Money!
What is charged: amount plus vatAmount, now or each period.
interval
Section titled “interval”AppChargeInterval
The cycle, on a recurring charge. Null on a one-time charge.
trialDays
Section titled “trialDays”Int!
Free days before the first period falls due, on a recurring charge. Zero otherwise. With a trial, accepting pays nothing now.
expiresAt
Section titled “expiresAt”DateTime!
When this request stops being answerable.
ObjectThe images and colours that make a storefront look like this merchant — the same brand the Storefront API serves, as the merchant set it.
Image
The primary logo, for a header.
squareLogo
Section titled “squareLogo”Image
A square logo, for avatars, favicons, and share cards.
favicon
Section titled “favicon”Image
The browser favicon.
coverImage
Section titled “coverImage”Image
A wide image for a hero or a share card.
slogan
Section titled “slogan”String
A short tagline.
colors
Section titled “colors”BrandColors
The merchant’s chosen colours, named by role. Null until any is chosen.
BrandColors
Section titled “BrandColors”A merchant’s colour choices, named by role.
primary
Section titled “primary”String
Primary action and brand colour, as #rrggbb.
accent
Section titled “accent”String
Accent colour for value and emphasis.
background
Section titled “background”String
Page background.
foreground
Section titled “foreground”String
Body text.
BrandColorsInput
Section titled “BrandColorsInput”A merchant’s colour choices, named by role.
primary
Section titled “primary”String
No description.
accent
Section titled “accent”String
No description.
background
Section titled “background”String
No description.
foreground
Section titled “foreground”String
No description.
BrandInput
Section titled “BrandInput”Brand as supplied. Image ids come from a staged upload.
logoId
Section titled “logoId”ID
No description.
squareLogoId
Section titled “squareLogoId”ID
No description.
faviconId
Section titled “faviconId”ID
No description.
coverImageId
Section titled “coverImageId”ID
No description.
slogan
Section titled “slogan”String
No description.
colors
Section titled “colors”BrandColorsInput
No description.
BusinessEntityType
Section titled “BusinessEntityType”What kind of legal entity the merchant is.
| Value | Meaning |
|---|---|
INDIVIDUAL | شخص حقیقی — a sole trader. |
COMPANY | شخص حقوقی — a registered company. |
BusinessProfile
Section titled “BusinessProfile”The merchant’s legal identity — what the tax system, the gateways, and the trust seals each need.
Verification is per-field rather than per-profile: a shop can be selling with a
verified national id while its e-Namad application is still open, and a single
verified boolean would make that unrepresentable.
entityType
Section titled “entityType”BusinessEntityType!
Sole trader or company. Decides which of the fields below are required.
legalName
Section titled “legalName”String
The name on the registration.
nationalId
Section titled “nationalId”String
کد ملی for an individual, شناسه ملی for a company.
nationalIdVerification
Section titled “nationalIdVerification”VerificationState!
Whether کد ملی belongs to the owner’s own mobile number, per Shahkar — سامانه شاهکار.
PENDING from the moment an individual’s code is saved until the registry
answers; saving never waits for it, and a check the registry could not answer
is asked again, a minute later and then less often. Accepting a transfer asks
again, against the new owner’s number.
A company’s شناسه ملی is checked by hand by Kaladan’s staff against the
company register, with the legal name and the registration number: PENDING
from saving until then, then VERIFIED, or REJECTED with
nationalIdRefusalReason. Saving the شناسه ملی, the legal name or the
registration number changed asks again; saving them unchanged keeps the
verdict, and saving a rejected one unchanged asks for another look.
nationalIdRefusalReason
Section titled “nationalIdRefusalReason”String
Why Kaladan’s staff refused a company’s شناسه ملی, in their words, as written:
set only when nationalIdVerification is REJECTED on a company. Shahkar
gives no reason for an individual’s code.
nationalIdCheckedAt
Section titled “nationalIdCheckedAt”DateTime
When the national id was last checked — by Shahkar for an individual’s, by Kaladan’s staff for a company’s. Null while it awaits its check.
economicCode
Section titled “economicCode”String
کد اقتصادی. Companies, and anyone issuing official invoices.
registrationNumber
Section titled “registrationNumber”String
شماره ثبت. Companies only.
address
Section titled “address”Address
The registered address. Postal verification for e-Namad happens against it.
enamad
Section titled “enamad”TrustCredentialState!
نماد اعتماد الکترونیکی. Gates Torob crawling and most gateways.
samandehi
Section titled “samandehi”TrustCredentialState!
ساماندهی. Content registration for Iran-hosted sites.
vatCertificateNumber
Section titled “vatCertificateNumber”String
گواهی ارزش افزوده — the VAT certificate, when the merchant holds one.
moadianMemoryUnitId
Section titled “moadianMemoryUnitId”String
شناسه یکتای حافظه مالیاتی — the Moadian memory-unit id.
Without it no official invoice can be filed, so a shop that offers فاکتور رسمی and has not set this is accumulating an obligation it cannot discharge. The admin should say so before the deadline, not after.
moadianVerification
Section titled “moadianVerification”VerificationState!
No description.
BusinessProfileInput
Section titled “BusinessProfileInput”The merchant’s legal identity, as supplied. Partial.
entityType
Section titled “entityType”BusinessEntityType
No description.
legalName
Section titled “legalName”String
No description.
nationalId
Section titled “nationalId”String
کد ملی for an individual, شناسه ملی for a company. Checksum-validated.
economicCode
Section titled “economicCode”String
No description.
registrationNumber
Section titled “registrationNumber”String
No description.
addressId
Section titled “addressId”ID
No description.
vatCertificateNumber
Section titled “vatCertificateNumber”String
No description.
CalendarSystem
Section titled “CalendarSystem”How dates should be drawn. Every timestamp on the wire stays Gregorian UTC.
| Value | Meaning |
|---|---|
JALALI | No description. |
GREGORIAN | No description. |
HIJRI | No description. |
A city or town — شهر.
ID!
No description.
String!
No description.
String!
No description.
province
Section titled “province”Province!
No description.
DnsRecord
Section titled “DnsRecord”A DNS record the merchant must create for a domain to work.
String!
No description.
String!
No description.
String!
No description.
Domain
Section titled “Domain”One host that serves this shop.
ID!
No description.
String!
No description.
URL!
No description.
isPrimary
Section titled “isPrimary”Boolean!
The canonical host. A page asked for on any other of the shop’s hosts is redirected here, permanently, with its path and query; the API, checkout and payment returns are not.
sslStatus
Section titled “sslStatus”DomainSslStatus!
Where TLS provisioning has got to.
Asynchronous, and it can lag a DNS change by minutes. A domain answering
PENDING is not broken; a domain answering FAILED needs the merchant to fix
their DNS, and the admin should say which record.
requiredDnsRecords
Section titled “requiredDnsRecords”[DnsRecord!]!
The DNS records the merchant must create. Empty once verified.
DomainSslStatus
Section titled “DomainSslStatus”Where TLS provisioning has got to.
| Value | Meaning |
|---|---|
PENDING | No description. |
ACTIVE | No description. |
FAILED | No description. |
InstalledApp
Section titled “InstalledApp”An app installed on this shop.
ID!
No description.
handle
Section titled “handle”String!
The app’s permanent handle. It appears in every audit line the app writes.
String!
No description.
publisherName
Section titled “publisherName”String!
No description.
iconUrl
Section titled “iconUrl”URL
No description.
appVersion
Section titled “appVersion”String!
The version this shop is running. Not necessarily the newest.
grantedScopes
Section titled “grantedScopes”[AccessScope!]!
What the merchant approved. May lag what the current version asks for.
reauthorizationRequired
Section titled “reauthorizationRequired”Boolean!
Whether the app has published a version wanting more than was granted.
True until the merchant re-approves. The app keeps working on its old grant; the new capability simply does not — which is the whole point of freezing a version at submission.
pendingScopes
Section titled “pendingScopes”[AccessScope!]!
The scopes it would gain, so a merchant sees what they are agreeing to.
charges
Section titled “charges”[InstalledAppCharge!]!
What it charges this shop, when it charges anything.
extensionSummary
Section titled “extensionSummary”[String!]!
Where it appears — admin cards, theme blocks, checkout steps.
installedAt
Section titled “installedAt”DateTime!
No description.
lastActiveAt
Section titled “lastActiveAt”DateTime
No description.
InstalledAppCharge
Section titled “InstalledAppCharge”What an installed app charges this shop.
ID!
The charge, so an invoice line billing it can be told apart from another.
AppChargeKind!
No description.
String!
No description.
amount
Section titled “amount”Money!
The net, before VAT: per period on a recurring charge.
interval
Section titled “interval”String
monthly or annual, on a recurring charge.
status
Section titled “status”String!
pending, active, declined, merchant_past_due, cancelled or
expired, as the app marketplace spells it.
pending with acceptedAt set is accepted and waiting for its payment.
merchant_past_due is this charge’s renewal left unpaid when its period
ended — this charge only — and paying the renewal’s invoice brings it back.
currentPeriodEnd
Section titled “currentPeriodEnd”DateTime
When the period paid for, or the trial, ends and the next renewal falls due.
trialDays
Section titled “trialDays”Int!
Free days before its first period fell due.
acceptedAt
Section titled “acceptedAt”DateTime
When the merchant accepted it.
approvedAt
Section titled “approvedAt”DateTime
When it became active: paid for, or its trial began.
InstalledAppPayload
Section titled “InstalledAppPayload”What the app mutations return.
InstalledApp
No description.
authorizationUrl
Section titled “authorizationUrl”URL
Where to send the merchant to approve the scopes.
Approval happens on a Kaladan page, never the app’s: a merchant cannot tell an app’s own approval screen apart from a phishing one.
userErrors
Section titled “userErrors”[UserError!]!
No description.
Location
Section titled “Location”Somewhere stock sits, or somewhere an order can be collected.
Multi-location is a differentiator against every Iranian incumbent, and it is
also the thing that makes an inventory model that assumed one warehouse
expensive to fix. Every InventoryLevel is per location from the first version,
even for the majority of shops that will only ever have one.
ID!
No description.
version
Section titled “version”Version!
No description.
String!
No description.
address
Section titled “address”Address
No description.
fulfillsOnlineOrders
Section titled “fulfillsOnlineOrders”Boolean!
Whether stock here counts toward what a storefront can sell.
pickupEnabled
Section titled “pickupEnabled”Boolean!
Whether buyers may collect here.
pickupInstructions
Section titled “pickupInstructions”String
Collection hours and instructions, as the merchant wrote them.
isActive
Section titled “isActive”Boolean!
Deactivating keeps the record and its history but stops it holding sellable stock. Locations are not deleted while an order references them.
createdAt
Section titled “createdAt”DateTime!
No description.
metafield
Section titled “metafield”Metafield
No description.
| Argument | Type | Meaning |
|---|---|---|
namespace | String | No description. |
key | String! | No description. |
metafields
Section titled “metafields”[Metafield]!
No description.
| Argument | Type | Meaning |
|---|---|---|
identifiers | [MetafieldIdentifier!]! | No description. |
MoneyDisplayUnit
Section titled “MoneyDisplayUnit”The unit prices are spoken in.
| Value | Meaning |
|---|---|
RIAL | No description. |
TOMAN | No description. |
MoneyPresentation
Section titled “MoneyPresentation”How this shop’s amounts should be rendered. Read by every other surface.
MoneyDisplayUnit!
No description.
divisor
Section titled “divisor”Int!
What to divide a canonical amount by. 1 for rial, 10 for toman.
fractionDigits
Section titled “fractionDigits”Int!
No description.
rounding
Section titled “rounding”PriceRounding!
How the platform rounds amounts it computes — shipping, a percentage discount, tax.
numeralSystem
Section titled “numeralSystem”NumeralSystem!
No description.
MoneyPresentationInput
Section titled “MoneyPresentationInput”How amounts are displayed, as supplied.
MoneyDisplayUnit
No description.
fractionDigits
Section titled “fractionDigits”Int
No description.
numeralSystem
Section titled “numeralSystem”NumeralSystem
No description.
roundingIncrement
Section titled “roundingIncrement”Decimal
No description.
roundingMode
Section titled “roundingMode”PriceRoundingMode
No description.
NumeralSystem
Section titled “NumeralSystem”Which digit glyphs to render.
| Value | Meaning |
|---|---|
PERSIAN | No description. |
LATIN | No description. |
PriceRounding
Section titled “PriceRounding”How the platform rounds an amount it computed.
increment
Section titled “increment”Decimal!
No description.
PriceRoundingMode!
No description.
PriceRoundingMode
Section titled “PriceRoundingMode”Which way an amount is rounded.
| Value | Meaning |
|---|---|
NEAREST | No description. |
UP | No description. |
DOWN | No description. |
Province
Section titled “Province”An Iranian province — استان.
ID!
No description.
String!
No description.
String!
No description.
Publication
Section titled “Publication”Whether one resource is available on one channel.
The join between a product and a channel. Its absence means unpublished, which is why the storefront cannot see a product nobody published.
channel
Section titled “channel”SalesChannel!
No description.
publishedAt
Section titled “publishedAt”DateTime
When it becomes visible. Future-dated for a launch.
isPublished
Section titled “isPublished”Boolean!
No description.
ObjectA named set of scopes.
The platform ships several and a merchant may define their own. Built-in roles cannot be edited — a merchant who wants a different “انباردار” makes one, rather than silently changing what the word means for support and for every other shop.
ID!
No description.
handle
Section titled “handle”Handle!
No description.
String!
No description.
description
Section titled “description”String
No description.
scopes
Section titled “scopes”[AccessScope!]!
No description.
isBuiltIn
Section titled “isBuiltIn”Boolean!
Whether the platform defined it. Built-in roles are read-only.
memberCount
Section titled “memberCount”Int!
How many staff hold it. Worth knowing before deleting it.
RoleInput
Section titled “RoleInput”A role to define. Built-in roles cannot be changed.
String!
No description.
description
Section titled “description”String
No description.
scopes
Section titled “scopes”[AccessScope!]!
What it grants. An empty set is refused: a role that grants nothing is a role somebody assigned by mistake.
RolePayload
Section titled “RolePayload”What the role mutations return.
Role
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
SalesChannel
Section titled “SalesChannel”Somewhere a merchant sells.
ID!
No description.
handle
Section titled “handle”Handle!
No description.
String!
No description.
SalesChannelKind!
No description.
isActive
Section titled “isActive”Boolean!
No description.
appHandle
Section titled “appHandle”String
The app providing it, for a channel that is not first-party.
publishedProductCount
Section titled “publishedProductCount”Int!
How many products are published here.
SalesChannelKind
Section titled “SalesChannelKind”What kind of channel this is.
No channel sells across shops: the hub on kaladan.shop shows a shop’s products and does not sell them.
| Value | Meaning |
|---|---|
ONLINE_STORE | The merchant’s own store. It sells only while a plan opens it (ONLINE_STORE). |
FEED | A price-comparison feed — Torob, Emalls. |
SOCIAL | A social channel — Instagram import, a Telegram bot. |
SHOWCASE | The shop’s page on kaladan.shop, its showcase: a product published here is on that page. Every shop has exactly one, free, created with the shop, and it is never counted against the plan’s channel limit. |
BUY_BUTTON | An embedded buy button on somebody else’s site. |
EXTERNAL_MARKETPLACE | A marketplace the merchant also sells on — Digikala, Basalam. |
POS | No description. |
The shop this token belongs to. There is exactly one; it is not addressed by id.
ID!
No description.
version
Section titled “version”Version!
No description.
String!
No description.
handle
Section titled “handle”Handle!
No description.
String
No description.
String
No description.
statusNotice
Section titled “statusNotice”ShopStatusNotice
What the platform has told this merchant about their shop’s state, verbatim.
Where the merchant reads why. The Operator API requires a
merchant_message on every suspension and every takedown, shown to the
merchant verbatim, and a suspended shop’s admin stays open at all so the
merchant can read it. This is that message.
Null when there is nothing to say, which is the ordinary case. Non-null
whenever status is SUSPENDED, and it may also carry a takedown notice on
a shop that is otherwise trading normally, or a suspension still inside its
grace (effectiveAt). With several in force, the newest that suspends the
shop, and a takedown only when nothing suspends it.
A trial ending, or a renewal unpaid and inside its grace, is not a notice:
nobody wrote it. subscription says both — its status, its
currentPeriodEnd and its graceDays.
Unscoped, and that is deliberate: a notice explaining why a shop is
suspended must be readable by whatever token the merchant still holds, and
gating it behind READ_SHOP_SETTINGS would hide it from exactly the staff
member who opened the admin to find out what happened.
Brand!
The images and colours a theme applies over its own defaults.
What shopUpdate sets as brand, read back, so a merchant sees which logo is
set and an app can show the brand it is about to change.
contact
Section titled “contact”ShopContact!
How to reach the shop, as a storefront publishes it.
description
Section titled “description”String
The shop’s own words about itself: the bio under its name on its showcase. Plain text, line breaks kept, at most 500 characters. Null when unset.
socialLinks
Section titled “socialLinks”[SocialLink!]!
Where else the shop is, in the merchant’s order: Instagram, Telegram, Bale and the rest. Shown on its showcase and published to its storefront.
City
Where the shop is: what its showcase shows, and how a visitor narrows the hub by place. Null until the merchant chooses.
category
Section titled “category”TaxonomyCategory
What the shop is: one category of the platform’s tree. Null until the merchant chooses. With the city, the logo and the description, it is the shop’s half of being listed in the hub’s explore and search.
showcaseUrl
Section titled “showcaseUrl”URL!
The shop’s page on kaladan.shop, its showcase: https://kaladan.shop/<handle>.
Every shop has one, free, from the moment it exists.
domains
Section titled “domains”[Domain!]!
Domains that resolve here. Adding one is a separate operation with DNS steps.
primaryDomain
Section titled “primaryDomain”Domain!
No description.
businessProfile
Section titled “businessProfile”BusinessProfile!
The merchant’s legal identity and its verification state.
currencyCode
Section titled “currencyCode”CurrencyCode!
No description.
moneyPresentation
Section titled “moneyPresentation”MoneyPresentation!
How amounts are displayed. Read by every surface; set once, here.
timezone
Section titled “timezone”String!
No description.
calendar
Section titled “calendar”CalendarSystem!
No description.
defaultLocale
Section titled “defaultLocale”Locale!
The locale the shop writes in, and the one every translation is made from.
publishedLocales
Section titled “publishedLocales”[Locale!]!
The locales the storefront offers a buyer, the default among them.
A locale the shop holds translations in is not published by having them:
see Query.translationLocales.
capabilities
Section titled “capabilities”[ShopCapability!]!
What the plan has switched on. A UI hides rather than offers-and-fails.
subscription
Section titled “subscription”ShopSubscription!
The plan itself, and where billing stands.
testMode
Section titled “testMode”Boolean!
Whether the shop is in test mode.
Orders placed while it is on are marked Order.test, which every report,
payout and tax filing excludes. It is how a merchant walks their own checkout
before going live — OnboardingStepKey.PLACE_TEST_ORDER — and it is a shop
setting rather than a per-order flag because a merchant testing wants to use
their storefront, not build a draft order.
What it governs is stamped when it starts: a checkout started while it is on, and a draft created while it is on, are tests, and so are their payments and the orders they become, whatever the setting says by the time they finish. A test payment goes through the payment sandbox and never a real terminal, so no money moves.
The buyer pays on the sandbox’s page, which says it is a test. The storefront itself does not say so yet.
createdAt
Section titled “createdAt”DateTime!
No description.
updatedAt
Section titled “updatedAt”DateTime!
No description.
metafield
Section titled “metafield”Metafield
Custom data on the shop itself.
An app reads its own namespace freely, and nothing else without
READ_METAOBJECTS. An app’s namespace is app-- and its handle; a value
there is read by that app with no scope, and by anyone else only with
READ_METAOBJECTS, as every other namespace is. Writing in another app’s
namespace is refused.
| Argument | Type | Meaning |
|---|---|---|
namespace | String | No description. |
key | String! | No description. |
metafields
Section titled “metafields”[Metafield]!
The same, for several at once; one outside what the caller may read is null.
| Argument | Type | Meaning |
|---|---|---|
identifiers | [MetafieldIdentifier!]! | No description. |
ShopCapability
Section titled “ShopCapability”Something the plan has switched on.
| Value | Meaning |
|---|---|
ONLINE_STORE | The shop’s store is open: it sells, on its own domain. Held by every paid plan. Without it a shop has its free showcase on kaladan.shop and no store, and the admin opens on the showcase. storeOpen starts the trial that grants it. |
CUSTOMER_ACCOUNTS | No description. |
PRODUCT_REVIEWS | No description. |
MULTI_LOCALE | The storefront may be published in more than the default locale. Translating needs nothing: a shop on any plan may prepare its copy, and this is what shopUpdate asks for when a locale is added to publishedLocales. |
MULTI_LOCATION | No description. |
DISCOUNT_CODES | No description. |
GIFT_CARDS | No description. |
INVENTORY_VISIBILITY | No description. |
OFFICIAL_INVOICE | No description. |
DELIVERY_SCHEDULING | No description. |
PICKUP_IN_STORE | No description. |
BUY_BUTTON | The catalogue may be embedded on another site through a buy button. |
B2B | No description. |
STAFF_ACCOUNTS | No description. |
CUSTOM_DOMAIN | No description. |
APP_INSTALL | No description. |
ShopContact
Section titled “ShopContact”How to reach the merchant.
Iranian e-commerce regulation requires a real address and a working telephone number to be published; a theme is expected to render them, not hide them in a footer link.
String
A telephone number, formatted as the merchant entered it.
mobile
Section titled “mobile”String
A second number — a mobile, or support out of hours.
String
An email address.
address
Section titled “address”Address
The published address.
supportHours
Section titled “supportHours”String
Free text: opening hours, how long a reply takes.
ShopContactInput
Section titled “ShopContactInput”How to reach the merchant, as supplied.
String
No description.
mobile
Section titled “mobile”String
No description.
String
No description.
addressId
Section titled “addressId”ID
No description.
supportHours
Section titled “supportHours”String
No description.
ShopPayload
Section titled “ShopPayload”What the shop mutations return.
Shop
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
ShopStatusCause
Section titled “ShopStatusCause”Why the platform acted. Mirrors the Operator API’s own causes.
| Value | Meaning |
|---|---|
NON_PAYMENT | The subscription lapsed — the one cause the merchant can fix alone. |
PROHIBITED_GOODS | No description. |
FRAUD | No description. |
ABUSE | No description. |
LEGAL_ORDER | No description. |
MERCHANT_REQUEST | The merchant asked. Carries no explanation because they wrote it. |
TAKEDOWN | Content was removed without the shop being suspended. |
ShopStatusNotice
Section titled “ShopStatusNotice”A notice from Kaladan about this shop, in Kaladan’s own words.
Written by an operator, never composed by the platform — the one place a
Kaladan human’s words reach a merchant unedited. That is why it carries no
code and no params when every other merchant-facing message on this
platform does: a suspension explained by a localization template is a
suspension nobody understands, and the Operator API already requires the human
to write it.
message
Section titled “message”String!
The operator’s message. Shown as written, and not translated.
Empty where nobody wrote one: a suspension for NON_PAYMENT, which
billing decides when a grace runs out rather than a person, and the merchant’s
own request. The cause is what to show then — the way to pay beside it for
non-payment — because a sentence the platform composed in an operator’s place
is exactly what this field exists not to carry.
ShopStatusCause!
Why, as a category a client can act on — a pay-now button for NON_PAYMENT,
an appeal link for PROHIBITED_GOODS.
effectiveAt
Section titled “effectiveAt”DateTime
When trading stops, for a suspension still inside its grace period.
Null once it has taken effect, and null for a notice that suspends nothing.
appealUrl
Section titled “appealUrl”URL
Where to reply. A suspension a merchant cannot answer is a merchant lost.
issuedAt
Section titled “issuedAt”DateTime!
No description.
ShopSubscription
Section titled “ShopSubscription”The merchant’s plan and where their billing stands.
Prepaid and renewed by an explicit payment: card-on-file recurring billing does
not exist on Iranian rails, so there is no silent auto-renewal to model. What
there is instead is a renewal date, a reminder, and a grace period — and
PAST_DUE is a state a shop can sell in, because cutting off a paying merchant
over a payment that has not cleared yet loses the merchant.
planHandle
Section titled “planHandle”String!
No description.
planName
Section titled “planName”String!
No description.
status
Section titled “status”SubscriptionStatus!
No description.
currentPeriodEnd
Section titled “currentPeriodEnd”DateTime
When the current prepaid term ends. Null on a plan with no term: the free
showcase plan every shop starts on, which has nothing to renew and never
lapses.
graceDays
Section titled “graceDays”Int!
How long after that the shop keeps selling. Zero means it stops at the date.
[UsageMeter!]!
Usage against the plan’s limits, for showing a merchant where they stand.
Live: used is the meter’s current value, not a copy taken when a
threshold was last crossed, so a merchant who deletes a product or revokes an
invitation sees the room it made. The meter trails a write by the moment it
takes to hear of it; what refuses a create is the exact count taken by
whatever refused, and the refusal says what that count was.
ShopUpdateInput
Section titled “ShopUpdateInput”Changes to the shop itself. Partial: omitted is unchanged, explicit null clears.
Not everything about a shop is here. A domain is connected through its own operation because it has DNS steps and a certificate; the business profile has verification states of its own; payment and tax have their own operations. What is here is what a merchant edits on a settings page and expects to save at once.
String
No description.
String
No description.
String
No description.
BrandInput
Brand, for themes to apply over their own defaults.
contact
Section titled “contact”ShopContactInput
How to reach the shop. A published address and number are a legal requirement here.
moneyPresentation
Section titled “moneyPresentation”MoneyPresentationInput
Rial or toman, the rounding rule, and which digits to draw.
Changing the display unit does not touch a single stored price — amounts are canonical in rial everywhere — but it changes every number a buyer sees, so an admin should confirm it rather than treat it as a preference.
timezone
Section titled “timezone”String
No description.
calendar
Section titled “calendar”CalendarSystem
No description.
defaultLocale
Section titled “defaultLocale”Locale
No description.
publishedLocales
Section titled “publishedLocales”[Locale!]
Every locale the storefront offers, replacing the list held. The default must
be among them (INCONSISTENT), and the list may not be emptied.
Publishing a second locale is a plan capability. A list naming more than
one locale, and naming one the shop does not publish already, needs
MULTI_LOCALE and is refused without it (NOT_ENTITLED,
params.capability) before anything is written. Taking one away is never
refused, and neither is saving the list a shop already publishes: a shop whose
plan no longer has the capability can still save its settings, and can still
withdraw a locale. Translating into a locale needs no capability at all.
description
Section titled “description”String
The bio on the shop’s showcase. Plain text, at most 500 characters
(MAX_LENGTH). An empty string clears it.
socialLinks
Section titled “socialLinks”[SocialLinkInput!]
Every link, in order, replacing the list held: at most ten (LIST_SIZE), one
per platform (INVALID). An empty list clears them.
cityId
Section titled “cityId”ID
The city, from cities. Null clears it.
categoryId
Section titled “categoryId”ID
The category: a top-level category of the platform’s tree, from taxonomy
(INVALID for a deeper one, because a shop is one kind of shop and its
products are what spread across the tree). Null clears it.
SocialLink
Section titled “SocialLink”One place the shop is besides its own site and its showcase.
platform
Section titled “platform”SocialPlatform!
Which platform.
URL!
The shop’s address there.
handle
Section titled “handle”String
The shop’s handle there, when the platform has handles.
SocialLinkInput
Section titled “SocialLinkInput”One link of a shop’s, as supplied.
platform
Section titled “platform”SocialPlatform!
Which platform.
URL!
The shop’s address there. https only (INVALID).
handle
Section titled “handle”String
The shop’s handle there, when the platform has handles.
SocialPlatform
Section titled “SocialPlatform”A platform a shop can link to. A client should show an unknown value as a plain link.
| Value | Meaning |
|---|---|
INSTAGRAM | Instagram. |
TELEGRAM | Telegram. |
BALE | بله: the Iranian messenger most shops are reachable on. |
WHATSAPP | WhatsApp. |
EITAA | ایتا. |
RUBIKA | روبیکا. |
APARAT | آپارات. |
LINKEDIN | LinkedIn. |
X | X. |
YOUTUBE | YouTube. |
PINTEREST | Pinterest. |
WEBSITE | Any other website. |
StaffInvitation
Section titled “StaffInvitation”A staff invitation, as the inviting shop sees it.
ID!
No description.
String!
No description.
firstName
Section titled “firstName”String
No description.
lastName
Section titled “lastName”String
No description.
Role!
No description.
status
Section titled “status”StaffInvitationStatus!
No description.
invitedBy
Section titled “invitedBy”StaffMember
No description.
expiresAt
Section titled “expiresAt”DateTime!
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
StaffInvitationPayload
Section titled “StaffInvitationPayload”What the invitation mutations return.
invitation
Section titled “invitation”StaffInvitation
No description.
acceptUrl
Section titled “acceptUrl”URL
The link the invitee opens to accept — on staffInvite, and only there.
Shown once. It carries the invitation’s secret, which the platform keeps only as a hash, so nothing can read it again: the inviter copies it now and sends it however they reach that person. Null on every other mutation, and when the invitation was refused. Lost, it is replaced by revoking the invitation and sending another.
userErrors
Section titled “userErrors”[UserError!]!
No description.
StaffInvitationStatus
Section titled “StaffInvitationStatus”Where an invitation stands.
| Value | Meaning |
|---|---|
PENDING | No description. |
ACCEPTED | No description. |
DECLINED | No description. |
EXPIRED | No description. |
REVOKED | No description. |
StaffInviteInput
Section titled “StaffInviteInput”Somebody to invite onto the shop.
String!
The mobile number to invite. It is the identity, so the invitation is bound to it and can only be accepted by a session proving that number.
firstName
Section titled “firstName”String
No description.
lastName
Section titled “lastName”String
No description.
roleId
Section titled “roleId”ID!
A role from this shop’s own set.
message
Section titled “message”String
A note carried into the invitation SMS.
StaffMember
Section titled “StaffMember”Someone who may act for the merchant.
ID!
No description.
version
Section titled “version”Version!
No description.
String!
The mobile number they sign in with. SMS-OTP; there is no password.
firstName
Section titled “firstName”String
No description.
lastName
Section titled “lastName”String
No description.
displayName
Section titled “displayName”String!
No description.
String
No description.
Role!
No description.
effectiveScopes
Section titled “effectiveScopes”[AccessScope!]!
Every scope this member effectively holds, role and overrides combined.
Resolved rather than left to the caller: an admin showing a merchant what somebody can do must not have to reimplement the resolution and get it wrong.
status
Section titled “status”StaffStatus!
No description.
lastSeenAt
Section titled “lastSeenAt”DateTime
No description.
invitedAt
Section titled “invitedAt”DateTime
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
StaffMemberPayload
Section titled “StaffMemberPayload”What the staff mutations return.
staffMember
Section titled “staffMember”StaffMember
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
StaffStatus
Section titled “StaffStatus”Where a staff member stands.
| Value | Meaning |
|---|---|
INVITED | Invited, has not yet signed in. |
ACTIVE | No description. |
SUSPENDED | Access withdrawn without deleting the record, so the audit log stays readable. |
StoreOpenPayload
Section titled “StoreOpenPayload”What opening the store returns.
Shop
The shop: its subscription is on the trial, its capabilities hold
ONLINE_STORE, and its store answers from now on. Null when it declined.
userErrors
Section titled “userErrors”[UserError!]!
Why it declined. INVALID_STATE when the shop has had a trial already or
holds a paid plan: params.reason is TRIAL_USED or ALREADY_OPEN.
StorefrontToken
Section titled “StorefrontToken”A public, shop-scoped token a theme or an embed uses.
Assume it is known to everyone. It ships inside a theme’s JavaScript and inside a script tag on a third party’s website, which is why it is scoped to catalogue, content and cart, and why it must be rotatable.
ID!
No description.
String!
What it is for — «قالب اصلی», «ویجت اینستاگرام».
tokenMasked
Section titled “tokenMasked”String!
The token itself, masked after creation.
Shown in full exactly once, like any other bearer credential. A merchant who loses it rotates rather than recovers.
allowedOrigins
Section titled “allowedOrigins”[String!]!
Origins allowed to use it, enforced by the gateway on the CORS preflight.
Empty means this shop’s own domains only. A buy button on a partner’s site is what widens it, and each entry is a scheme and host — never a bare wildcard, which would make the allowlist decorative.
channel
Section titled “channel”SalesChannel
The channel this token serves, when it belongs to one.
revokedAt
Section titled “revokedAt”DateTime
Set while a rotated token is still inside its grace window.
lastUsedAt
Section titled “lastUsedAt”DateTime
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
StorefrontTokenPayload
Section titled “StorefrontTokenPayload”What the storefront-token mutations return.
storefrontToken
Section titled “storefrontToken”StorefrontToken
No description.
String
The new token, in full, on a rotation. The only time it is ever returned.
userErrors
Section titled “userErrors”[UserError!]!
No description.
SubscriptionStatus
Section titled “SubscriptionStatus”Where a subscription stands.
| Value | Meaning |
|---|---|
TRIALING | No description. |
ACTIVE | No description. |
PAST_DUE | The term has ended and the renewal has not been paid. Still selling, within grace. |
SUSPENDED | Grace exhausted. The storefront is suspended; the admin still opens. |
CANCELLED | No description. |
TranslatableContentType
Section titled “TranslatableContentType”How a translatable field is written.
| Value | Meaning |
|---|---|
SINGLE_LINE_TEXT | One line: a title. |
MULTI_LINE_TEXT | Plain text with line breaks: an excerpt, a search-engine description. |
HTML | Sanitized HTML: a description or a body, and sanitized again when translated. |
TranslatableResource
Section titled “TranslatableResource”One resource, listed for translation into one locale.
resourceId
Section titled “resourceId”ID!
The resource’s own id: what translations and translationsSet take.
resourceType
Section titled “resourceType”TranslatableResourceType!
No description.
String!
Its title in the shop’s default locale, to list it by.
TranslationState!
No description.
translatableCount
Section titled “translatableCount”Int!
How many of its fields have default-locale text to translate.
translatedCount
Section titled “translatedCount”Int!
Of those, how many have a translation in this locale.
outdatedCount
Section titled “outdatedCount”Int!
How many of its translations in this locale are outdated — counting one whose field has since been emptied, which is outdated and has nothing left to translate.
TranslatableResourceConnection
Section titled “TranslatableResourceConnection”No description.
[TranslatableResourceEdge!]!
No description.
[TranslatableResource!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”Int
How many match across every page. Counted for products, whose service counts; for the rest, only when this page is the whole result, and null otherwise.
TranslatableResourceEdge
Section titled “TranslatableResourceEdge”No description.
cursor
Section titled “cursor”String!
No description.
TranslatableResource!
No description.
TranslatableResourceType
Section titled “TranslatableResourceType”The kinds of resource a shop can translate, and the keys each translates.
What a storefront shows. Menus and metaobjects are not here; Query.translations
says why.
| Value | Meaning |
|---|---|
PRODUCT | title, descriptionHtml, seo.title, seo.description. |
COLLECTION | title, descriptionHtml, seo.title, seo.description. |
PAGE | title, contentHtml, seo.title, seo.description. |
ARTICLE | title, contentHtml, excerpt, seo.title, seo.description. |
BLOG | title, seo.title, seo.description. |
Translation
Section titled “Translation”One translatable field of one resource, in one locale.
String!
The field being translated — title, descriptionHtml, seo.title.
TranslatableContentType!
How the field is written, so an editor knows which input to draw for it.
String
The translated value. Null where nobody has translated it yet.
originalValue
Section titled “originalValue”String
The field’s text in the shop’s default locale as the resource holds it now, so an editor shows both sides without a second query. Null where the resource has none — a search-engine title left to fall back to the title — and a field with none has nothing to translate.
translatedFrom
Section titled “translatedFrom”String
The default-locale text this translation was made from. Null where nobody has translated the field.
A copy, not a mirror: kept when the translation was written and never
moved since. Beside originalValue it is what shows a translator what
changed.
outdated
Section titled “outdated”Boolean!
Whether the default-locale text changed after this translation was written.
The field that stops a shop shipping a translated description of a product whose description was rewritten a month ago. True when the resource reported the change, and true when the text it was made from is not the text the resource holds now — so a change whose report was lost still reads as one. False where nothing is translated.
updatedAt
Section titled “updatedAt”DateTime
No description.
TranslationInput
Section titled “TranslationInput”One translation to write.
String!
A key TranslatableResourceType lists for the resource’s type.
String
Null clears it, falling back to the primary locale. An empty string is a translation to nothing, which is a thing a merchant may mean.
TranslationLocale
Section titled “TranslationLocale”A locale the shop holds translations in.
locale
Section titled “locale”Locale!
No description.
translationCount
Section titled “translationCount”Int!
How many translated fields it holds, across every resource.
outdatedCount
Section titled “outdatedCount”Int!
How many of those were marked outdated when their resource changed.
TranslationPayload
Section titled “TranslationPayload”What translationsSet returns.
translations
Section titled “translations”[Translation!]!
The resource’s translatable fields after the write; empty on a refusal.
userErrors
Section titled “userErrors”[UserError!]!
No description.
TranslationState
Section titled “TranslationState”How far one resource’s translation into one locale has got.
| Value | Meaning |
|---|---|
NONE | Nothing translated. |
PARTIAL | Some fields translated, none outdated. |
COMPLETE | Every field with text translated, none outdated. |
OUTDATED | At least one translation was made from text that has since changed. Ahead of the others because it is the one that needs a person. |
TrustCredentialFailure
Section titled “TrustCredentialFailure”Why Kaladan’s check of a seal’s record refused it.
| Value | Meaning |
|---|---|
NOT_FOUND | The issuer has no record under this code. |
DOMAIN_MISMATCH | The record was issued for a domain this shop does not serve. |
EXPIRED | The record has lapsed. |
TrustCredentialInput
Section titled “TrustCredentialInput”A trust seal the merchant has been issued, as supplied.
Set whole, not patched: a field left out is cleared, so a change to one detail sends the others again. A seal is one certificate, and a new code beside the old one’s link would send a buyer to check somebody else’s.
TrustCredentialKind!
No description.
String!
The certificate number the issuer assigned.
embedHtml
Section titled “embedHtml”HTML
The issuer’s verbatim badge markup, where they supply one.
e-Namad’s is a script that reports the domain it loaded on, which is why it must be rendered exactly and why the platform sanitizes it against an allowlist permitting the issuers’ own scripts and nothing else.
verifyUrl
Section titled “verifyUrl”URL
No description.
expiresAt
Section titled “expiresAt”DateTime
No description.
TrustCredentialKind
Section titled “TrustCredentialKind”Which body issued a trust seal.
The same values the Storefront API declares, so a merchant and a buyer are
looking at the same vocabulary. Admin’s BusinessProfile names enamad and
samandehi as fields because those are the two every shop deals with; this enum
is what a write operation addresses, and what a third issuer would be added to.
| Value | Meaning |
|---|---|
ENAMAD | نماد اعتماد الکترونیکی — gates Torob crawling and most gateways. |
SAMANDEHI | ساماندهی — content registration for Iran-hosted sites. |
GUILD | A union or guild membership — اتحادیه. |
OTHER | No description. |
TrustCredentialState
Section titled “TrustCredentialState”A trust seal and where its application has got to.
Only an e-Namad is checked, against its record at the issuer: PENDING from
the moment its code is recorded until the check answers, then VERIFIED or
REJECTED with failure saying why. A ساماندهی is not checked by anything yet
and stays UNVERIFIED. A storefront shows a seal while onStorefront is true.
VerificationState!
No description.
String
The certificate number, once issued.
verifyUrl
Section titled “verifyUrl”URL
Where a buyer can verify it.
embedHtml
Section titled “embedHtml”HTML
The issuer’s verbatim badge markup, for the storefront to render.
expiresAt
Section titled “expiresAt”DateTime
No description.
rejectionReason
Section titled “rejectionReason”String
Why it was refused, in the issuer’s own words. Actionable only by the merchant.
failure
Section titled “failure”TrustCredentialFailure
Why Kaladan’s check of the issuer’s record refused it; null unless it did.
checkedAt
Section titled “checkedAt”DateTime
When the issuer’s record was last read. Null while it never has been.
onStorefront
Section titled “onStorefront”Boolean!
Whether a storefront shows it now: verified, and not past expiresAt. A
lapsed seal comes off the moment it lapses.
UsageMeter
Section titled “UsageMeter”One metered limit and where the shop stands against it.
String!
products, staff_seats, sales_channels, storage_bytes, sms_credits,
orders_month, api_calls_month.
Int!
What the shop holds now. staff_seats counts members, the owner among them;
a pending invitation holds a seat too, and staffInvite counts it, but it is
not a member until it is accepted.
Int
The plan’s limit, or null when the meter is counted but not capped.
VerificationState
Section titled “VerificationState”Where a verification has got to.
| Value | Meaning |
|---|---|
UNVERIFIED | Nothing supplied yet. |
PENDING | Supplied, awaiting an answer from whoever verifies it. |
VERIFIED | No description. |
REJECTED | Refused. reason on the credential, where the issuer gave one. |