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

Shop

Object

A postal address, shaped the way Iranian addresses are written.

ID!

No description.

String

No description.

String

No description.

String

No description.

String

No description.

String

No description.

Province!

No description.

City!

No description.

String

No description.

String!

No description.

String

No description.

String

No description.

String

No description.

String

No description.

Float

No description.

Float

No description.

[String!]!

Composed into display lines, in the order Iranian addresses are written.

ArgumentTypeMeaning
withNameBoolean · default falseNo description.
withPhoneBoolean · default falseNo description.
Input

An address as supplied. Province and city are codes, never free text.

String

No description.

String

No description.

String

No description.

String

No description.

String

No description.

String!

No description.

String!

No description.

String

No description.

String!

No description.

String

No description.

String

No description.

String

No description.

String

No description.

Float

No description.

Float

No description.

Object

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.

String!

The version being approved: the one published when the approval began.

[AccessScope!]!

Everything the version asks for. A merchant approves all of it or none.

[AccessScope!]!

On a re-approval, what the app would gain. Empty on an install.

[AccessScope!]!

On a re-approval, what the app would give up. Empty on an install.

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

Boolean!

Whether the app works when nobody is signed in.

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

String

Where the developer says the shop’s data goes.

URL

No description.

DateTime!

When this approval stops being answerable.

Object

The app an approval is about, as much as the page needs.

String!

No description.

String!

No description.

String!

No description.

URL

No description.

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.

Enum

What an approval is for.

ValueMeaning
INSTALLInstalling the app.
REAUTHORIZEMoving an installed app to a version asking for more, or less.
Object

What the approval mutations return.

InstalledApp

The installation, once accepted.

URL

Where to send the browser next. Null with a userError.

[UserError!]!

No description.

Object

One synchronous topic an app joins, and what happens when it is slow.

String!

checkout/validate, cart/price.

String!

FAIL_OPEN: the shop goes on without the app. FAIL_CLOSED: it stops.

Input

An app’s authorization request, as it reached /oauth/authorize.

String!

The app’s client id, client_….

URL!

One of the redirects the app registered, compared byte for byte.

String!

The app’s own value, returned to it untouched.

String!

The PKCE challenge. Every app sends one.

String!

S256, the only method.

Object

What appAuthorizationBegin returns: exactly one of the two.

URL

Where to send the browser now: the app’s redirect, carrying a code.

String

The approval to show first, when there is something to approve.

[UserError!]!

No description.

Object

What appChargeAccept returns.

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.

PlatformInvoice

The invoice raised for it. Null with a trial, which owes nothing yet.

URL

The bank’s page, for the invoice’s totalAmount. Null with a trial, and with a userError.

URL

The app’s own address, where the merchant goes when nothing is paid now.

[UserError!]!

No description.

Object

What appChargeDecline returns.

URL

The app’s own address, where the merchant goes next. Null with a userError.

[UserError!]!

No description.

Enum

How often a recurring app charge falls due.

ValueMeaning
MONTHLYNo description.
ANNUALNo description.
Enum

What an app charges for.

ValueMeaning
ONE_TIMEOnce.
RECURRINGEvery period, until the app cancels it or is removed.
USAGEMetered against a cap. Not offered until a prepaid wallet exists; listed so an older charge still reads.
Object

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.

Money!

The net, before VAT: per period on a recurring charge, or the whole.

Float!

The VAT rate in force now, as a fraction: 0.1 for ten per cent.

Money!

VAT on amount, rounded down to a whole rial.

Money!

What is charged: amount plus vatAmount, now or each period.

AppChargeInterval

The cycle, on a recurring charge. Null on a one-time charge.

Int!

Free days before the first period falls due, on a recurring charge. Zero otherwise. With a trial, accepting pays nothing now.

DateTime!

When this request stops being answerable.

Object

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

Image

A square logo, for avatars, favicons, and share cards.

Image

The browser favicon.

Image

A wide image for a hero or a share card.

String

A short tagline.

BrandColors

The merchant’s chosen colours, named by role. Null until any is chosen.

Object

A merchant’s colour choices, named by role.

String

Primary action and brand colour, as #rrggbb.

String

Accent colour for value and emphasis.

String

Page background.

String

Body text.

Input

A merchant’s colour choices, named by role.

String

No description.

String

No description.

String

No description.

String

No description.

Input

Brand as supplied. Image ids come from a staged upload.

ID

No description.

ID

No description.

ID

No description.

ID

No description.

String

No description.

BrandColorsInput

No description.

Enum

What kind of legal entity the merchant is.

ValueMeaning
INDIVIDUALشخص حقیقی — a sole trader.
COMPANYشخص حقوقی — a registered company.
Object

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.

BusinessEntityType!

Sole trader or company. Decides which of the fields below are required.

String

The name on the registration.

String

کد ملی for an individual, شناسه ملی for a company.

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.

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.

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.

String

کد اقتصادی. Companies, and anyone issuing official invoices.

String

شماره ثبت. Companies only.

Address

The registered address. Postal verification for e-Namad happens against it.

TrustCredentialState!

نماد اعتماد الکترونیکی. Gates Torob crawling and most gateways.

TrustCredentialState!

ساماندهی. Content registration for Iran-hosted sites.

String

گواهی ارزش افزوده — the VAT certificate, when the merchant holds one.

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.

VerificationState!

No description.

Input

The merchant’s legal identity, as supplied. Partial.

BusinessEntityType

No description.

String

No description.

String

کد ملی for an individual, شناسه ملی for a company. Checksum-validated.

String

No description.

String

No description.

ID

No description.

String

No description.

Enum

How dates should be drawn. Every timestamp on the wire stays Gregorian UTC.

ValueMeaning
JALALINo description.
GREGORIANNo description.
HIJRINo description.
Object

A city or town — شهر.

ID!

No description.

String!

No description.

String!

No description.

Province!

No description.

Object

A DNS record the merchant must create for a domain to work.

String!

No description.

String!

No description.

String!

No description.

Object

One host that serves this shop.

ID!

No description.

String!

No description.

URL!

No description.

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.

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.

[DnsRecord!]!

The DNS records the merchant must create. Empty once verified.

Enum

Where TLS provisioning has got to.

ValueMeaning
PENDINGNo description.
ACTIVENo description.
FAILEDNo description.
Object

An app installed on this shop.

ID!

No description.

String!

The app’s permanent handle. It appears in every audit line the app writes.

String!

No description.

String!

No description.

URL

No description.

String!

The version this shop is running. Not necessarily the newest.

[AccessScope!]!

What the merchant approved. May lag what the current version asks for.

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.

[AccessScope!]!

The scopes it would gain, so a merchant sees what they are agreeing to.

[InstalledAppCharge!]!

What it charges this shop, when it charges anything.

[String!]!

Where it appears — admin cards, theme blocks, checkout steps.

DateTime!

No description.

DateTime

No description.

Object

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.

Money!

The net, before VAT: per period on a recurring charge.

String

monthly or annual, on a recurring charge.

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.

DateTime

When the period paid for, or the trial, ends and the next renewal falls due.

Int!

Free days before its first period fell due.

DateTime

When the merchant accepted it.

DateTime

When it became active: paid for, or its trial began.

Object

What the app mutations return.

InstalledApp

No description.

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.

[UserError!]!

No description.

Object

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!

No description.

String!

No description.

Address

No description.

Boolean!

Whether stock here counts toward what a storefront can sell.

Boolean!

Whether buyers may collect here.

String

Collection hours and instructions, as the merchant wrote them.

Boolean!

Deactivating keeps the record and its history but stops it holding sellable stock. Locations are not deleted while an order references them.

DateTime!

No description.

Metafield

No description.

ArgumentTypeMeaning
namespaceStringNo description.
keyString!No description.

[Metafield]!

No description.

ArgumentTypeMeaning
identifiers[MetafieldIdentifier!]!No description.
Enum

The unit prices are spoken in.

ValueMeaning
RIALNo description.
TOMANNo description.
Object

How this shop’s amounts should be rendered. Read by every other surface.

MoneyDisplayUnit!

No description.

Int!

What to divide a canonical amount by. 1 for rial, 10 for toman.

Int!

No description.

PriceRounding!

How the platform rounds amounts it computes — shipping, a percentage discount, tax.

NumeralSystem!

No description.

Input

How amounts are displayed, as supplied.

MoneyDisplayUnit

No description.

Int

No description.

NumeralSystem

No description.

Decimal

No description.

PriceRoundingMode

No description.

Enum

Which digit glyphs to render.

ValueMeaning
PERSIANNo description.
LATINNo description.
Object

How the platform rounds an amount it computed.

Decimal!

No description.

PriceRoundingMode!

No description.

Enum

Which way an amount is rounded.

ValueMeaning
NEARESTNo description.
UPNo description.
DOWNNo description.
Object

An Iranian province — استان.

ID!

No description.

String!

No description.

String!

No description.

Object

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.

SalesChannel!

No description.

DateTime

When it becomes visible. Future-dated for a launch.

Boolean!

No description.

Object

A 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!

No description.

String!

No description.

String

No description.

[AccessScope!]!

No description.

Boolean!

Whether the platform defined it. Built-in roles are read-only.

Int!

How many staff hold it. Worth knowing before deleting it.

Input

A role to define. Built-in roles cannot be changed.

String!

No description.

String

No description.

[AccessScope!]!

What it grants. An empty set is refused: a role that grants nothing is a role somebody assigned by mistake.

Object

What the role mutations return.

Role

No description.

[UserError!]!

No description.

Object

Somewhere a merchant sells.

ID!

No description.

Handle!

No description.

String!

No description.

SalesChannelKind!

No description.

Boolean!

No description.

String

The app providing it, for a channel that is not first-party.

Int!

How many products are published here.

Enum

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.

ValueMeaning
ONLINE_STOREThe merchant’s own store. It sells only while a plan opens it (ONLINE_STORE).
FEEDA price-comparison feed — Torob, Emalls.
SOCIALA social channel — Instagram import, a Telegram bot.
SHOWCASEThe 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_BUTTONAn embedded buy button on somebody else’s site.
EXTERNAL_MARKETPLACEA marketplace the merchant also sells on — Digikala, Basalam.
POSNo description.
Object

The shop this token belongs to. There is exactly one; it is not addressed by id.

ID!

No description.

Version!

No description.

String!

No description.

Handle!

No description.

String

No description.

String

No description.

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.

ShopContact!

How to reach the shop, as a storefront publishes it.

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.

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

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.

URL!

The shop’s page on kaladan.shop, its showcase: https://kaladan.shop/<handle>. Every shop has one, free, from the moment it exists.

[Domain!]!

Domains that resolve here. Adding one is a separate operation with DNS steps.

Domain!

No description.

BusinessProfile!

The merchant’s legal identity and its verification state.

CurrencyCode!

No description.

MoneyPresentation!

How amounts are displayed. Read by every surface; set once, here.

String!

No description.

CalendarSystem!

No description.

Locale!

The locale the shop writes in, and the one every translation is made from.

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

[ShopCapability!]!

What the plan has switched on. A UI hides rather than offers-and-fails.

ShopSubscription!

The plan itself, and where billing stands.

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.

DateTime!

No description.

DateTime!

No description.

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.

ArgumentTypeMeaning
namespaceStringNo description.
keyString!No description.

[Metafield]!

The same, for several at once; one outside what the caller may read is null.

ArgumentTypeMeaning
identifiers[MetafieldIdentifier!]!No description.
Enum

Something the plan has switched on.

ValueMeaning
ONLINE_STOREThe 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_ACCOUNTSNo description.
PRODUCT_REVIEWSNo description.
MULTI_LOCALEThe 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_LOCATIONNo description.
DISCOUNT_CODESNo description.
GIFT_CARDSNo description.
INVENTORY_VISIBILITYNo description.
OFFICIAL_INVOICENo description.
DELIVERY_SCHEDULINGNo description.
PICKUP_IN_STORENo description.
BUY_BUTTONThe catalogue may be embedded on another site through a buy button.
B2BNo description.
STAFF_ACCOUNTSNo description.
CUSTOM_DOMAINNo description.
APP_INSTALLNo description.
Object

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.

String

A second number — a mobile, or support out of hours.

String

An email address.

Address

The published address.

String

Free text: opening hours, how long a reply takes.

Input

How to reach the merchant, as supplied.

String

No description.

String

No description.

String

No description.

ID

No description.

String

No description.

Object

What the shop mutations return.

Shop

No description.

[UserError!]!

No description.

Enum

Why the platform acted. Mirrors the Operator API’s own causes.

ValueMeaning
NON_PAYMENTThe subscription lapsed — the one cause the merchant can fix alone.
PROHIBITED_GOODSNo description.
FRAUDNo description.
ABUSENo description.
LEGAL_ORDERNo description.
MERCHANT_REQUESTThe merchant asked. Carries no explanation because they wrote it.
TAKEDOWNContent was removed without the shop being suspended.
Object

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.

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.

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.

URL

Where to reply. A suspension a merchant cannot answer is a merchant lost.

DateTime!

No description.

Object

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.

String!

No description.

String!

No description.

SubscriptionStatus!

No description.

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.

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.

Input

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.

ShopContactInput

How to reach the shop. A published address and number are a legal requirement here.

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.

String

No description.

CalendarSystem

No description.

Locale

No description.

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

String

The bio on the shop’s showcase. Plain text, at most 500 characters (MAX_LENGTH). An empty string clears it.

[SocialLinkInput!]

Every link, in order, replacing the list held: at most ten (LIST_SIZE), one per platform (INVALID). An empty list clears them.

ID

The city, from cities. Null clears it.

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.

Object

One place the shop is besides its own site and its showcase.

SocialPlatform!

Which platform.

URL!

The shop’s address there.

String

The shop’s handle there, when the platform has handles.

Input

One link of a shop’s, as supplied.

SocialPlatform!

Which platform.

URL!

The shop’s address there. https only (INVALID).

String

The shop’s handle there, when the platform has handles.

Enum

A platform a shop can link to. A client should show an unknown value as a plain link.

ValueMeaning
INSTAGRAMInstagram.
TELEGRAMTelegram.
BALEبله: the Iranian messenger most shops are reachable on.
WHATSAPPWhatsApp.
EITAAایتا.
RUBIKAروبیکا.
APARATآپارات.
LINKEDINLinkedIn.
XX.
YOUTUBEYouTube.
PINTERESTPinterest.
WEBSITEAny other website.
Object

A staff invitation, as the inviting shop sees it.

ID!

No description.

String!

No description.

String

No description.

String

No description.

Role!

No description.

StaffInvitationStatus!

No description.

StaffMember

No description.

DateTime!

No description.

DateTime!

No description.

Object

What the invitation mutations return.

StaffInvitation

No description.

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.

[UserError!]!

No description.

Enum

Where an invitation stands.

ValueMeaning
PENDINGNo description.
ACCEPTEDNo description.
DECLINEDNo description.
EXPIREDNo description.
REVOKEDNo description.
Input

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.

String

No description.

String

No description.

ID!

A role from this shop’s own set.

String

A note carried into the invitation SMS.

Object

Someone who may act for the merchant.

ID!

No description.

Version!

No description.

String!

The mobile number they sign in with. SMS-OTP; there is no password.

String

No description.

String

No description.

String!

No description.

String

No description.

Role!

No description.

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

StaffStatus!

No description.

DateTime

No description.

DateTime

No description.

DateTime!

No description.

Object

What the staff mutations return.

StaffMember

No description.

[UserError!]!

No description.

Enum

Where a staff member stands.

ValueMeaning
INVITEDInvited, has not yet signed in.
ACTIVENo description.
SUSPENDEDAccess withdrawn without deleting the record, so the audit log stays readable.
Object

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.

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

Object

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 — «قالب اصلی», «ویجت اینستاگرام».

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.

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

SalesChannel

The channel this token serves, when it belongs to one.

DateTime

Set while a rotated token is still inside its grace window.

DateTime

No description.

DateTime!

No description.

Object

What the storefront-token mutations return.

StorefrontToken

No description.

String

The new token, in full, on a rotation. The only time it is ever returned.

[UserError!]!

No description.

Enum

Where a subscription stands.

ValueMeaning
TRIALINGNo description.
ACTIVENo description.
PAST_DUEThe term has ended and the renewal has not been paid. Still selling, within grace.
SUSPENDEDGrace exhausted. The storefront is suspended; the admin still opens.
CANCELLEDNo description.
Enum

How a translatable field is written.

ValueMeaning
SINGLE_LINE_TEXTOne line: a title.
MULTI_LINE_TEXTPlain text with line breaks: an excerpt, a search-engine description.
HTMLSanitized HTML: a description or a body, and sanitized again when translated.
Object

One resource, listed for translation into one locale.

ID!

The resource’s own id: what translations and translationsSet take.

TranslatableResourceType!

No description.

String!

Its title in the shop’s default locale, to list it by.

TranslationState!

No description.

Int!

How many of its fields have default-locale text to translate.

Int!

Of those, how many have a translation in this locale.

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.

Object

No description.

[TranslatableResourceEdge!]!

No description.

[TranslatableResource!]!

No description.

PageInfo!

No description.

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.

Object

No description.

String!

No description.

TranslatableResource!

No description.

Enum

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.

ValueMeaning
PRODUCTtitle, descriptionHtml, seo.title, seo.description.
COLLECTIONtitle, descriptionHtml, seo.title, seo.description.
PAGEtitle, contentHtml, seo.title, seo.description.
ARTICLEtitle, contentHtml, excerpt, seo.title, seo.description.
BLOGtitle, seo.title, seo.description.
Object

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.

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.

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.

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.

DateTime

No description.

Input

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.

Object

A locale the shop holds translations in.

Locale!

No description.

Int!

How many translated fields it holds, across every resource.

Int!

How many of those were marked outdated when their resource changed.

Object

What translationsSet returns.

[Translation!]!

The resource’s translatable fields after the write; empty on a refusal.

[UserError!]!

No description.

Enum

How far one resource’s translation into one locale has got.

ValueMeaning
NONENothing translated.
PARTIALSome fields translated, none outdated.
COMPLETEEvery field with text translated, none outdated.
OUTDATEDAt least one translation was made from text that has since changed. Ahead of the others because it is the one that needs a person.
Enum

Why Kaladan’s check of a seal’s record refused it.

ValueMeaning
NOT_FOUNDThe issuer has no record under this code.
DOMAIN_MISMATCHThe record was issued for a domain this shop does not serve.
EXPIREDThe record has lapsed.
Input

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.

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.

URL

No description.

DateTime

No description.

Enum

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.

ValueMeaning
ENAMADنماد اعتماد الکترونیکی — gates Torob crawling and most gateways.
SAMANDEHIساماندهی — content registration for Iran-hosted sites.
GUILDA union or guild membership — اتحادیه.
OTHERNo description.
Object

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.

URL

Where a buyer can verify it.

HTML

The issuer’s verbatim badge markup, for the storefront to render.

DateTime

No description.

String

Why it was refused, in the issuer’s own words. Actionable only by the merchant.

TrustCredentialFailure

Why Kaladan’s check of the issuer’s record refused it; null unless it did.

DateTime

When the issuer’s record was last read. Null while it never has been.

Boolean!

Whether a storefront shows it now: verified, and not past expiresAt. A lapsed seal comes off the moment it lapses.

Object

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.

Enum

Where a verification has got to.

ValueMeaning
UNVERIFIEDNothing supplied yet.
PENDINGSupplied, awaiting an answer from whoever verifies it.
VERIFIEDNo description.
REJECTEDRefused. reason on the credential, where the issuer gave one.