Queries
No description.
Shop!
The shop this token belongs to. Takes no argument; the token names it.
provinces
Section titled “provinces”[Province!]!
Every Iranian province — استان. A fixed dataset; fetch once and cache.
cities
Section titled “cities”[City!]!
The cities of one province. query filters by name for a type-ahead.
| Argument | Type | Meaning |
|---|---|---|
provinceCode | String! | No description. |
query | String | No description. |
locations
Section titled “locations”[Location!]!
Where stock sits and orders are collected.
| Argument | Type | Meaning |
|---|---|---|
includeInactive | Boolean · default false | No description. |
location
Section titled “location”Location
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
salesChannels
Section titled “salesChannels”[SalesChannel!]!
Where the merchant sells.
feedConfigurations
Section titled “feedConfigurations”[FeedConfiguration!]!
Every feed this shop publishes, and where each goes.
Torob and Emalls, and — once its index is built — Kaladan’s own product hub, which is a target like any other so that opting in is one screen rather than a second unrelated feature.
feedConfiguration
Section titled “feedConfiguration”FeedConfiguration
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
feedTargets
Section titled “feedTargets”[FeedTarget!]!
Targets this shop can publish to — first-party, Kaladan’s hub, and any an installed app registers.
Each carries what it requires of a product and what the merchant must have before it will list them, so a client can explain a refusal instead of showing an empty feed.
feedPreview
Section titled “feedPreview”FeedPreview
What a feed would contain, without generating it.
Counts what goes, what gets dropped and why, and names any prerequisite the shop has not met. The screen to show before turning a feed on.
| Argument | Type | Meaning |
|---|---|---|
targetHandle | Handle! | No description. |
channelId | ID | No description. |
feedRuns
Section titled “feedRuns”[FeedRun!]!
Past generations, newest first. drops is what a merchant comes here for.
| Argument | Type | Meaning |
|---|---|---|
feedConfigurationId | ID! | No description. |
first | Int | No description. |
after | String | No description. |
staffMembers
Section titled “staffMembers”StaffMemberConnection!
Who may act for the merchant.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
staffMember
Section titled “staffMember”StaffMember
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
[Role!]!
The roles a staff member can hold, built-in and merchant-defined.
product
Section titled “product”Product
One product, by id or by handle. Supply exactly one.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
handle | Handle | No description. |
products
Section titled “products”ProductConnection!
Products, including drafts and archived ones.
Unlike the storefront’s listing, this one can see everything — which is why
filters.status exists and why the whole field is scoped.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
last | Int | No description. |
before | String | No description. |
query | String | No description. |
filters | ProductAdminFilter | No description. |
sortKey | ProductAdminSortKeys · default "UPDATED_AT" | No description. |
reverse | Boolean · default true | No description. |
productVariant
Section titled “productVariant”ProductVariant
One variant by id.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
productVariants
Section titled “productVariants”ProductVariantConnection!
Variants across every product.
For the screens that work variant-first rather than product-first: a price review, an SKU audit, a barcode lookup at a counter.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
sortKey | ProductVariantSortKeys · default "TITLE" | No description. |
reverse | Boolean · default false | No description. |
collection
Section titled “collection”Collection
One collection, by id or by handle. Supply exactly one.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
handle | Handle | No description. |
collections
Section titled “collections”CollectionConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
sortKey | CollectionAdminSortKeys · default "UPDATED_AT" | No description. |
reverse | Boolean · default true | No description. |
taxonomyCategory
Section titled “taxonomyCategory”TaxonomyCategory
One taxonomy category, by id or by handle. Supply exactly one.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
handle | Handle | No description. |
rootTaxonomyCategories
Section titled “rootTaxonomyCategories”[TaxonomyCategory!]!
The top of the platform taxonomy.
Unscoped: it is the same tree for every shop and discloses nothing about this one.
searchTaxonomy
Section titled “searchTaxonomy”[TaxonomyCategory!]!
Search the taxonomy by name, for the classification picker.
Persian-normalized like every other search on the platform.
| Argument | Type | Meaning |
|---|---|---|
query | String! | No description. |
limit | Int · default 20 | No description. |
inventoryItem
Section titled “inventoryItem”InventoryItem
One stock record.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
inventoryItems
Section titled “inventoryItems”InventoryItemConnection!
Stock records across the catalogue.
filters.oversold and filters.lowStock are the two a merchant opens this
screen for; everything else is for reporting.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | InventoryFilter | No description. |
inventoryAdjustments
Section titled “inventoryAdjustments”InventoryAdjustmentConnection!
The adjustment ledger.
The answer to “why is this count wrong”. Filterable to one item, one location, or one reason.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
inventoryItemId | ID | No description. |
locationId | ID | No description. |
reason | InventoryAdjustmentReason | No description. |
occurredAfter | DateTime | No description. |
inventoryTransfers
Section titled “inventoryTransfers”InventoryTransferConnection!
Stock moving between locations.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
status | InventoryTransferStatus | No description. |
inventoryTransfer
Section titled “inventoryTransfer”InventoryTransfer
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
Order
One order, by id or by number. Supply exactly one.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
number | String | No description. |
orders
Section titled “orders”OrderConnection!
Orders.
The filters are the merchant’s daily queues rather than a generic query
language: hasOutstandingBalance is the money to chase,
awaitingPaymentVerification is what reconciliation has not settled,
hasPendingReceipt is the card-to-card approvals, and
awaitingOfficialInvoice is the tax obligation accruing quietly.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
last | Int | No description. |
before | String | No description. |
query | String | No description. |
filters | OrderFilter | No description. |
sortKey | OrderSortKeys · default "PLACED_AT" | No description. |
reverse | Boolean · default true | No description. |
draftOrder
Section titled “draftOrder”DraftOrder
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
number | String | No description. |
draftOrders
Section titled “draftOrders”DraftOrderConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
filters | DraftOrderFilter | No description. |
sortKey | DraftOrderSortKeys · default "UPDATED_AT" | No description. |
reverse | Boolean · default true | No description. |
fulfillmentOrder
Section titled “fulfillmentOrder”FulfillmentOrder
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
fulfillmentOrders
Section titled “fulfillmentOrders”FulfillmentOrderConnection!
The picking queue.
Filtered by location because that is how the work is actually done: one person at one warehouse wants their own list, not the shop’s.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | FulfillmentOrderFilter | No description. |
carriers
Section titled “carriers”[Carrier!]!
The carriers this shop can ship with, and what each supports.
return
Section titled “return”Return
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
number | String | No description. |
returns
Section titled “returns”ReturnConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
status | [ReturnStatus!] | No description. |
orderId | ID | No description. |
paymentConfiguration
Section titled “paymentConfiguration”PaymentConfiguration
How this merchant gets paid: mode, terminals, settlement account, commission.
paymentProviders
Section titled “paymentProviders”[PaymentProvider!]!
The providers a terminal can be registered at, and what each needs and can do — whether it takes a key beside the merchant id, splits, gives money back. What a registration form offers.
transaction
Section titled “transaction”Transaction
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
transactions
Section titled “transactions”TransactionConnection!
Transactions.
filters.needsResolution is the one that matters: everything UNRESOLVED,
and anything stuck verifying past its window. It is the queue the whole
reliability layer exists to keep short.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | TransactionFilter | No description. |
manualReceipts
Section titled “manualReceipts”ManualReceiptConnection!
Card-to-card receipts awaiting a decision - the approval queue.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
status | [ReceiptStatus!] | No description. |
orderId | ID | No description. |
manualReceipt
Section titled “manualReceipt”ManualReceipt
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
reconciliationRuns
Section titled “reconciliationRuns”ReconciliationRunConnection!
Daily comparisons against each provider’s own report.
A merchant asking “is my money all accounted for” is asking for this.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
provider | String | No description. |
status | [ReconciliationStatus!] | No description. |
reconciliationRun
Section titled “reconciliationRun”ReconciliationRun
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
businessDate | String | No description. |
provider | String | No description. |
discrepancies
Section titled “discrepancies”DiscrepancyConnection!
Open disagreements across every run. The work queue, not the history.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
kind | [DiscrepancyKind!] | No description. |
status | [DiscrepancyResolutionStatus!] | No description. |
refund
Section titled “refund”Refund
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
refunds
Section titled “refunds”RefundConnection!
Refunds. filters.outstanding is money promised back and not yet sent -
which on manual-transfer refunds is a queue somebody has to work.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | RefundFilter | No description. |
orderEdit
Section titled “orderEdit”OrderEdit
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
merchantBalance
Section titled “merchantBalance”MerchantBalance
What the merchant is owed and what has already gone.
unverified is shown separately because it is not yet money: some of it will
resolve to failed, and a merchant treating it as income will be wrong by
exactly what reconciliation is about to remove.
payout
Section titled “payout”Payout
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
payouts
Section titled “payouts”PayoutConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | PayoutFilter | No description. |
settlementReports
Section titled “settlementReports”SettlementReportConnection!
Providers’ own reports, kept verbatim for when the two sides disagree.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
provider | String | No description. |
taxConfiguration
Section titled “taxConfiguration”TaxConfiguration
No description.
moadianInvoice
Section titled “moadianInvoice”MoadianInvoice
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
orderId | ID | No description. |
taxId | String | No description. |
moadianInvoices
Section titled “moadianInvoices”MoadianInvoiceConnection!
Electronic invoices. filters.overdue and filters.needsCorrection are the
two queues; everything else on this screen is history.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | MoadianInvoiceFilter | No description. |
customer
Section titled “customer”Customer
One customer, by id or by mobile number. Supply exactly one.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
phone | String | No description. |
customers
Section titled “customers”CustomerConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
last | Int | No description. |
before | String | No description. |
query | String | No description. |
filters | CustomerFilter | No description. |
sortKey | CustomerSortKeys · default "CREATED_AT" | No description. |
reverse | Boolean · default true | No description. |
customerSegments
Section titled “customerSegments”CustomerSegmentConnection!
Rule-defined groups, evaluated when asked for rather than when saved.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
customerSegment
Section titled “customerSegment”CustomerSegment
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
customerSegmentPreview
Section titled “customerSegmentPreview”Int!
How many customers a set of rules would match, without saving it.
What a segment builder calls on every keystroke, and what a merchant sizing an SMS campaign needs before they spend the credit.
| Argument | Type | Meaning |
|---|---|---|
rules | [SegmentRuleInput!]! | No description. |
rulesMatch | SegmentRulesMatch · default "ALL" | No description. |
company
Section titled “company”Company
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
companies
Section titled “companies”CompanyConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
dataRequests
Section titled “dataRequests”DataRequestConnection!
Export and erasure requests buyers have raised.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
status | [DataRequestStatus!] | No description. |
kind | [DataRequestKind!] | No description. |
priceList
Section titled “priceList”PriceList
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
priceLists
Section titled “priceLists”PriceListConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
resolvedPrice
Section titled “resolvedPrice”ResolvedPrice
What one variant costs a given audience, with the list that decided it.
A merchant on the phone to a wholesale buyer asks exactly this, and computing it client-side means reimplementing list priority and quantity breaks.
| Argument | Type | Meaning |
|---|---|---|
variantId | ID! | No description. |
customerId | ID | No description. |
companyId | ID | No description. |
channelId | ID | No description. |
quantity | Int · default 1 | No description. |
scheduledPriceChanges
Section titled “scheduledPriceChanges”ScheduledPriceChangeConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
status | [ScheduledChangeStatus!] | No description. |
discount
Section titled “discount”Discount
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
code | String | No description. |
discounts
Section titled “discounts”DiscountConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
filters | DiscountFilter | No description. |
sortKey | DiscountSortKeys · default "CREATED_AT" | No description. |
reverse | Boolean · default true | No description. |
storeCreditAccount
Section titled “storeCreditAccount”StoreCreditAccount
No description.
| Argument | Type | Meaning |
|---|---|---|
customerId | ID! | No description. |
giftCard
Section titled “giftCard”GiftCard
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
giftCards
Section titled “giftCards”GiftCardConnection!
Gift cards. totalBalance on the connection is the shop’s outstanding
liability, which is a number an accountant asks for and nobody can sum by
paging.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | GiftCardFilter | No description. |
Page
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
handle | Handle | No description. |
PageConnection!
The shop’s pages — every page, its policies included, since a policy is a
page (Page.policyKind). filters.policy: false lists the ordinary pages
alone, true the policies, and filters.policyKind the one page of a kind.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
filters | ContentFilter | No description. |
Blog
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
handle | Handle | No description. |
[Blog!]!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
article
Section titled “article”Article
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
articles
Section titled “articles”ArticleConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
blogId | ID | No description. |
filters | ContentFilter | No description. |
Menu
A theme asks for menus by handle, so a merchant editing one starts here.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
handle | Handle | No description. |
[Menu!]!
No description.
urlRedirects
Section titled “urlRedirects”UrlRedirectConnection!
Redirects. hitCount is what tells a merchant which of a thousand imported
ones actually matter and which were noise from a migration.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
reviews
Section titled “reviews”ReviewConnection!
The moderation queue. PENDING first is what this screen is for.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | ReviewFilter | No description. |
review
Section titled “review”Review
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
metaobjectDefinitions
Section titled “metaobjectDefinitions”[MetaobjectDefinition!]!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
metaobjectDefinition
Section titled “metaobjectDefinition”MetaobjectDefinition
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
type | String | No description. |
metaobject
Section titled “metaobject”Metaobject
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
type | String | No description. |
handle | Handle | No description. |
metaobjects
Section titled “metaobjects”MetaobjectConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
type | String! | No description. |
first | Int | No description. |
after | String | No description. |
status | [ContentStatus!] | No description. |
Post
One of the shop’s posts, in any state the shop can see.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
PostConnection!
The shop’s posts, newest first. The order on kaladan.shop is different: featured first, then by first publication.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | PostFilter | No description. |
themes
Section titled “themes”ThemeConnection!
Themes installed on this shop for one surface. One of them is published.
The storefront’s, unless asked: the theme list and the theme store are about the store. The hub surface holds one theme, the platform’s.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
surface | ThemeSurface · default "STOREFRONT" | No description. |
Theme
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
publishedTheme
Section titled “publishedTheme”Theme
The published theme on one surface: what the storefront is serving, or, with
surface: HUB, what the shop’s page on kaladan.shop draws.
Null only for a shop that has never published one there. Every shop gets the hub theme published at provisioning.
| Argument | Type | Meaning |
|---|---|---|
surface | ThemeSurface · default "STOREFRONT" | No description. |
themeAppBlocks
Section titled “themeAppBlocks”[ThemeAppBlock!]!
App blocks a merchant has placed in a theme.
Registered here so the platform knows to call the app when rendering; the theme never calls it directly.
| Argument | Type | Meaning |
|---|---|---|
themeId | ID! | No description. |
campaign
Section titled “campaign”Campaign
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
campaigns
Section titled “campaigns”CampaignConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
filters | CampaignFilter | No description. |
campaignReachPreview
Section titled “campaignReachPreview”CampaignReach!
How many a campaign would actually reach, and what it would cost, before it is created.
What a merchant needs before budgeting: a promotional send to twelve thousand
opted-in customers reaches the minority who have not blocked promotional SMS
at the operator. Only customers who agreed to marketing on the channel are
reached, and excludedNoConsent counts the rest of the audience.
| Argument | Type | Meaning |
|---|---|---|
audienceKind | CampaignAudienceKind! | No description. |
segmentId | ID | No description. |
customerIds | [ID!] | No description. |
templateId | ID! | No description. |
messageTemplates
Section titled “messageTemplates”[MessageTemplate!]!
No description.
| Argument | Type | Meaning |
|---|---|---|
kind | [MessageTemplateKind!] | No description. |
channel | [MarketingChannel!] | No description. |
messageTemplate
Section titled “messageTemplate”MessageTemplate
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
smsBalance
Section titled “smsBalance”SmsBalance
Prepaid SMS credit, metered per segment.
Persian text encodes as UCS-2, so a segment is about seventy characters and a chatty template costs three times what its author assumed.
automations
Section titled “automations”[Automation!]!
No description.
automation
Section titled “automation”Automation
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
dashboard
Section titled “dashboard”Dashboard
The home screen: the same counters every morning, plus the queues that have work in them.
Fixed rather than composable, because a dashboard that must be configured before it says anything is one nobody configures.
| Argument | Type | Meaning |
|---|---|---|
period | ReportPeriodPreset · default "TODAY" | No description. |
from | DateTime | No description. |
to | DateTime | No description. |
comparison | ComparisonPeriod · default "PREVIOUS_PERIOD" | No description. |
revenueBasis | RevenueBasis · default "VERIFIED" | No description. |
report
Section titled “report”ReportResult
Run a report.
Measures, dimensions and filters rather than a query language. Each measure is
checked against the caller’s scopes, so an app without READ_PRICE_LISTS
asking for GROSS_MARGIN is refused rather than quietly given zero.
Time is bucketed in the shop’s own calendar: a MONTH bucket is a Jalali
month, and every bucket carries both its UTC bounds and its Jalali
coordinates.
| Argument | Type | Meaning |
|---|---|---|
input | ReportInput! | No description. |
reportSchema
Section titled “reportSchema”ReportSchema!
What can be measured, grouped and filtered.
Published so a report builder and a coding agent construct the same valid
requests from the same source, rather than each guessing. It also names which
combinations are refused — SESSIONS by PRODUCT is not a number anybody can
defend.
savedReports
Section titled “savedReports”SavedReportConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
savedReport
Section titled “savedReport”SavedReport
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
FileConnection!
The shop’s file library, oldest first: its public files — those uploaded in the library, and those uploaded for a product’s gallery, a post or the shop’s brand.
A private file is never listed: an import spreadsheet, an export, a
buyer’s receipt. Each is read through what owns it, under that owner’s scope —
an export’s through its Job — so READ_FILES reaches no catalogue and no
receipt.
query matches part of a file’s name, as a person types it: Arabic and
Persian letterforms, the three digit systems, spaces and the non-joiner are
folded on both sides, so «پيراهن ۲» finds «پیراهن2». It is text, never a
pattern. filters.kinds narrows to pictures, videos or documents.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
query | String | No description. |
filters | FileFilter | No description. |
staffInvitations
Section titled “staffInvitations”[StaffInvitation!]!
Invitations this shop has sent that are still waiting.
| Argument | Type | Meaning |
|---|---|---|
status | [StaffInvitationStatus!] | No description. |
installedApps
Section titled “installedApps”[InstalledApp!]!
Apps this shop has installed.
installedApp
Section titled “installedApp”InstalledApp
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID | No description. |
handle | String | No description. |
appApproval
Section titled “appApproval”AppApproval
An approval this shop is being asked to give, as Kaladan’s approval page shows it. Null for a token that is unknown, answered, expired, or another shop’s: the four are one answer.
A person’s, never an app’s. It needs WRITE_APPS, which no app can hold,
so an app’s token cannot read an approval, let alone answer one.
| Argument | Type | Meaning |
|---|---|---|
token | String! | No description. |
appCharge
Section titled “appCharge”AppChargeRequest
A charge an app is asking this shop to accept, as Kaladan’s charge page shows it: the price before VAT, the VAT at the rate in force now and the total, the cycle, and any trial. Null for a token that is unknown, answered, lapsed, or another shop’s: the four are one answer.
WRITE_BILLING, which no app can hold: accepting a charge is money
between Kaladan and the merchant, so an app’s token cannot read the request,
let alone answer it.
| Argument | Type | Meaning |
|---|---|---|
token | String! | No description. |
[Plan!]!
Every plan this shop could be on, with what each would cost and what would stop a downgrade.
Readable by apps: an app that supports two plans differently should be able to see which one it is running under.
subscriptionQuote
Section titled “subscriptionQuote”SubscriptionQuote
What changing plan would cost, before committing.
Credit for the unused part of the current term is applied here, so a merchant upgrading four months into an annual term sees that they are not paying twice for the eight months left.
| Argument | Type | Meaning |
|---|---|---|
planHandle | String! | No description. |
interval | BillingInterval! | No description. |
platformInvoices
Section titled “platformInvoices”PlatformInvoiceConnection!
Kaladan’s invoices to this merchant.
Not to be confused with moadianInvoices, which are the merchant’s invoices
to their buyers. Different direction, different law.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
status | [PlatformInvoiceStatus!] | No description. |
onboarding
Section titled “onboarding”Onboarding
What the shop still has to set up, and what each thing is waiting on.
Every fact behind this was already in the API — verification states, capabilities, terminals, the Moadian id — and nothing composed them into the question a merchant actually has for their first week.
themeStore
Section titled “themeStore”[ThemeStoreListing!]!
Themes available to install.
themeInstall took a handle and nothing listed what handles existed, which
made it unusable from a screen.
| Argument | Type | Meaning |
|---|---|---|
query | String | No description. |
first | Int | No description. |
after | String | No description. |
appStore
Section titled “appStore”[AppStoreListing!]!
Apps available to install, with the scopes each will ask for.
Shown before installing rather than at the approval step: a merchant choosing between two apps should see that one wants their customer list and the other does not.
| Argument | Type | Meaning |
|---|---|---|
query | String | No description. |
category | String | No description. |
first | Int | No description. |
after | String | No description. |
notifications
Section titled “notifications”PlatformNotificationConnection!
What the platform is telling this merchant.
Each carries a code and params rather than composed text, exactly as an
error does — a notification inbox is where the no-localized-strings rule would
otherwise break first.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
unreadOnly | Boolean · default false | No description. |
severity | [NotificationSeverity!] | No description. |
bankAccounts
Section titled “bankAccounts”[BankAccount!]!
The bank accounts this shop can settle to.
bankAccountSetDefault(id:) took an id from a list that did not exist. شبا
numbers are masked here as everywhere — enough to recognise which account,
never enough to attempt a transfer.
splitBeneficiaries
Section titled “splitBeneficiaries”[SplitBeneficiary!]!
Standing تسهیم beneficiaries — who else is paid out of every sale.
splitBeneficiariesSet replaces this list wholesale, which is only safe if
the caller can read what they are replacing. A merchant splitting revenue with
a partner and unable to see the current arrangement will eventually overwrite
it with a partial one.
SplitBeneficiary.share carries the ratio or the fixed amount, so the list
reads back with its terms. The شبا does not: it is masked here. So each
beneficiary carries an id, and a write naming it keeps the partner with the
شبا on file rather than asking for twenty-four digits nobody can read back.
storefrontTokens
Section titled “storefrontTokens”[StorefrontToken!]!
The public storefront tokens, and which origins may use each.
A storefront token is domain-allowlisted for buy-button embeds and rotatable without redeploying a theme, and this is where both are read. A merchant who cannot list their tokens cannot rotate a leaked one, and one who cannot read the allowlist cannot work out why their embed on a partner’s site stopped rendering.
translations
Section titled “translations”[Translation!]!
Translated strings for a resource, in one locale.
@inContext on the Storefront API reads what is written here. Returns the
translatable fields of a resource with their current values, so a client can
render an editor without knowing which fields are translatable: one entry
per field its type translates, in the order TranslatableResourceType lists
them, whether or not anybody has translated it. Each carries the field’s text
in the shop’s default locale as the resource holds it now, read from the
resource itself rather than from the copy a translation keeps.
Which resources, and why these. Products, collections, pages, articles and blogs — what a storefront shows a buyer. Two others are left out. Menus, because a menu is saved whole and every save mints its items’ ids afresh, so a translation keyed by item would be lost on the next save. Metaobjects, because which of an entry’s fields are text is decided by its definition, and that wants a key scheme of its own rather than a fixed list.
Gated on products as well as content. The original text this returns is a
product’s as readily as a page’s, so without READ_PRODUCTS it would be a way
round that scope; and a scope that depended on which kind of id was asked
about would be invisible to a client working out what a document needs.
An id that names no translatable resource — another type, something deleted, something this shop does not have — answers an empty list.
| Argument | Type | Meaning |
|---|---|---|
resourceId | ID! | No description. |
locale | Locale! | No description. |
translatableResources
Section titled “translatableResources”TranslatableResourceConnection!
The resources of one type, each with how far its translation into one locale has got — what a translation screen lists before one is opened.
state is worked out per resource from the same comparison translations
makes, so a list and the editor it opens never disagree about what is
outdated. Gated on both scopes for the reason translations is.
| Argument | Type | Meaning |
|---|---|---|
resourceType | TranslatableResourceType! | No description. |
locale | Locale! | No description. |
first | Int | No description. |
after | String | No description. |
query | String | Matched the way the resource’s own list matches it: products, collections, pages and articles by their owner’s search, blogs — which have none — by their title, ignoring case. |
translationLocales
Section titled “translationLocales”[TranslationLocale!]!
Every locale the shop holds translations in, published or not, with how many translated fields each holds and how many of those are outdated.
Not the shop’s published locales, which are Shop.publishedLocales. A
locale here that the shop does not publish is a merchant preparing a launch —
translating first and publishing once the copy is ready, which is the order
that works. A screen offers both lists.
shippingProfiles
Section titled “shippingProfiles”[ShippingProfile!]!
Delivery rules, grouped by which products they cover.
shippingProfile
Section titled “shippingProfile”ShippingProfile
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
shippingZone
Section titled “shippingZone”ShippingZone
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
shippingCoverage
Section titled “shippingCoverage”ShippingCoverage
Which provinces this shop cannot quote a delivery price to.
The check to run before going live. A buyer in an uncovered province reaches checkout, is quoted nothing, and leaves — and nothing else in this API would have said so.
| Argument | Type | Meaning |
|---|---|---|
profileId | ID | No description. |
metafieldDefinitions
Section titled “metafieldDefinitions”MetafieldDefinitionConnection!
The metafield definitions on this shop.
Where storefrontVisible is decided — the flag that governs whether an app’s
custom data is readable by a public token.
| Argument | Type | Meaning |
|---|---|---|
ownerType | MetafieldOwnerType | No description. |
namespace | String | No description. |
first | Int | No description. |
after | String | No description. |
metafieldDefinition
Section titled “metafieldDefinition”MetafieldDefinition
No description.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
Job
One long-running job. Poll it, or subscribe to its completion and stop polling.
An app’s token sees only the jobs its own requests started; another’s is null, as an unknown id is. A staff member sees every job in the shop.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
JobConnection!
Jobs this shop has running or recently finished. For an app’s token, only the ones its own requests started.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
kind | JobKind | No description. |
status | JobStatus | No description. |
auditEvents
Section titled “auditEvents”AuditEventConnection!
The audit log.
Separately scoped, because the record of who did what is exactly what somebody covering their tracks would want to read — and to be unable to write.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
action | String | No description. |
subjectId | ID | No description. |
actorId | ID | No description. |
occurredAfter | DateTime | No description. |
occurredBefore | DateTime | No description. |
Node
Re-fetch any object by its id, subject to the scopes that object requires.
| Argument | Type | Meaning |
|---|---|---|
id | ID! | No description. |
[Node]!
Positional: one entry per id, null where there is nothing to return.
| Argument | Type | Meaning |
|---|---|---|
ids | [ID!]! | No description. |