Apps
Something a merchant installs.
ID!
No description.
version
Section titled “version”Version!
No description.
handle
Section titled “handle”Handle!
Permanent once published. It appears in every install and every audit line.
String!
No description.
partner
Section titled “partner”Partner!
No description.
distribution
Section titled “distribution”AppDistribution!
No description.
status
Section titled “status”AppStatus!
No description.
publishedVersion
Section titled “publishedVersion”AppVersion
The version merchants install today. Null before anything is published.
draftVersion
Section titled “draftVersion”AppVersion
The version being worked on, if any.
versions
Section titled “versions”AppVersionConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
AppOAuthConfig!
OAuth client configuration. The secret is never returned after creation.
webhookSigning
Section titled “webhookSigning”AppWebhookSigning!
How the platform signs this app’s webhooks. The signing secret is never returned after creation or rotation.
listing
Section titled “listing”AppListing
Where it is listed, when it is.
installStatistics
Section titled “installStatistics”AppInstallStatistics!
How many shops have it, and how they are doing.
installations
Section titled “installations”AppInstallationConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
status | [InstallationStatus!] | No description. |
createdAt
Section titled “createdAt”DateTime!
No description.
AppConnection
Section titled “AppConnection”A page of apps.
[AppEdge!]!
No description.
[App!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”Int!
No description.
AppCreateInput
Section titled “AppCreateInput”An app to register.
String!
No description.
handle
Section titled “handle”Handle!
No description.
distribution
Section titled “distribution”AppDistribution!
No description.
applicationUrl
Section titled “applicationUrl”URL!
No description.
AppCreatePayload
Section titled “AppCreatePayload”What appCreate returns: the app, and both of its secrets, once.
App
No description.
clientSecret
Section titled “clientSecret”String
The client secret — shown once and never again.
Null for a public client, which is never issued one. When the app was created
and the secret could not be issued, this field raises an INTERNAL error at
its own path and appSecretRotate issues it. userErrors stays empty,
because the app was created, and a non-empty one would say it was not.
signingSecret
Section titled “signingSecret”String
The webhook signing secret — shown once and never again. whsec_ and
base64, as Standard Webhooks libraries expect it.
Null for a public client, which receives no webhooks. When the app was created
and the secret could not be issued, this field raises an INTERNAL error at
its own path and appSigningSecretRotate issues it, as for clientSecret.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppDistribution
Section titled “AppDistribution”How an app reaches merchants.
| Value | Meaning |
|---|---|
PUBLIC | Listed in the Kaladan app store, installable by anybody. |
CUSTOM | Built for named shops and installable only by them. What an agency builds for one merchant, and the commonest kind. It skips review, and in exchange it cannot be listed. |
FIRST_PARTY | Kaladan’s own. A partner cannot register one: appCreate refuses it with FORBIDDEN. |
AppEdge
Section titled “AppEdge”One app, with its cursor.
cursor
Section titled “cursor”String!
No description.
App!
No description.
AppInstallStatistics
Section titled “AppInstallStatistics”How an app is doing, in aggregate.
activeInstalls
Section titled “activeInstalls”Int!
No description.
installsLast30Days
Section titled “installsLast30Days”Int!
No description.
uninstallsLast30Days
Section titled “uninstallsLast30Days”Int!
No description.
installsOnOlderVersions
Section titled “installsOnOlderVersions”Int!
Installs still on a version older than the published one.
What a developer checks before removing anything: an app cannot deprecate a behaviour while a quarter of its shops still depend on it.
AppInstallation
Section titled “AppInstallation”One shop that has an app installed.
ID!
No description.
App!
No description.
InstalledShop!
The shop, as much of it as a partner may see.
appVersion
Section titled “appVersion”AppVersion!
The version this shop is running. Not necessarily the newest.
status
Section titled “status”InstallationStatus!
No description.
grantedScopes
Section titled “grantedScopes”[AccessScope!]!
The scopes this shop actually granted, which may lag the current version.
reauthorizationRequired
Section titled “reauthorizationRequired”Boolean!
Whether the installed version asks for more than was granted.
True after the developer publishes a version with new scopes and before the merchant re-approves. The app keeps working on its old grant; the new capability simply does not.
installedAt
Section titled “installedAt”DateTime!
No description.
uninstalledAt
Section titled “uninstalledAt”DateTime
No description.
lastActiveAt
Section titled “lastActiveAt”DateTime
No description.
AppInstallationConnection
Section titled “AppInstallationConnection”A page of installations.
[AppInstallationEdge!]!
No description.
[AppInstallation!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”Int!
No description.
AppInstallationEdge
Section titled “AppInstallationEdge”One installation, with its cursor.
cursor
Section titled “cursor”String!
No description.
AppInstallation!
No description.
AppListing
Section titled “AppListing”How an app appears in the store.
[LocalizedText!]!
Localized. Merchants read Persian; the store shows what the partner wrote.
tagline
Section titled “tagline”[LocalizedText!]!
No description.
description
Section titled “description”[LocalizedText!]!
No description.
categories
Section titled “categories”[String!]!
No description.
URL
No description.
screenshots
Section titled “screenshots”[URL!]!
No description.
supportUrl
Section titled “supportUrl”URL
No description.
privacyPolicyUrl
Section titled “privacyPolicyUrl”URL!
No description.
dataHandlingDisclosure
Section titled “dataHandlingDisclosure”[LocalizedText!]!
Where a merchant is told the app will send their data, if anywhere.
pricingSummary
Section titled “pricingSummary”[LocalizedText!]!
No description.
AppListingInput
Section titled “AppListingInput”How an app appears in the store.
[LocalizedTextInput!]!
No description.
tagline
Section titled “tagline”[LocalizedTextInput!]!
No description.
description
Section titled “description”[LocalizedTextInput!]!
No description.
categories
Section titled “categories”[String!]!
No description.
iconUrl
Section titled “iconUrl”URL
No description.
screenshotUrls
Section titled “screenshotUrls”[URL!]
No description.
supportUrl
Section titled “supportUrl”URL
No description.
privacyPolicyUrl
Section titled “privacyPolicyUrl”URL!
No description.
dataHandlingDisclosure
Section titled “dataHandlingDisclosure”[LocalizedTextInput!]!
No description.
pricingSummary
Section titled “pricingSummary”[LocalizedTextInput!]!
No description.
AppOAuthConfig
Section titled “AppOAuthConfig”OAuth client configuration.
clientId
Section titled “clientId”String!
The client id: client_ and 26 characters. What an authorization request and
the token endpoint name, and what a session token’s aud holds. Permanent.
hasClientSecret
Section titled “hasClientSecret”Boolean!
Whether a secret has been issued.
The secret itself is returned once, at creation or rotation, and never again. A developer who loses it rotates; nobody can recover it.
secretRotatedAt
Section titled “secretRotatedAt”DateTime
No description.
publicClient
Section titled “publicClient”Boolean!
Whether the app has no server, and so no secret.
Required for an app with no server — a CLI, a desktop tool — which cannot keep a secret and must not be issued one.
Every app uses PKCE (S256), a public client and a confidential one alike: an authorization request without a challenge is refused, and the token endpoint wants the verifier. A confidential client presents its secret as well. A code is then bound to the request that asked for it, so one leaked from a browser’s history cannot be redeemed by anybody else.
AppPayload
Section titled “AppPayload”What the app mutations return.
App
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppSecretPayload
Section titled “AppSecretPayload”What appSecretRotate returns.
App
No description.
clientSecret
Section titled “clientSecret”String
The new secret — shown once and never again.
Rotating invalidates the old one immediately, so a developer should be ready to deploy before calling this.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppSigningSecretPayload
Section titled “AppSigningSecretPayload”What appSigningSecretRotate returns.
App
No description.
signingSecret
Section titled “signingSecret”String
The new webhook signing secret — shown once and never again.
The previous one keeps signing deliveries beside it until
previousSecretRetiresAt, so a rotation drops nothing while you deploy.
previousSecretRetiresAt
Section titled “previousSecretRetiresAt”DateTime
When the previous signing secret stops being added to deliveries. Null the first time.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppStatus
Section titled “AppStatus”Where an app stands.
| Value | Meaning |
|---|---|
DRAFT | Being built. Installable only on the partner’s development stores. |
IN_REVIEW | Submitted for review. |
PUBLISHED | Live. |
UNLISTED | Withdrawn from the store. Existing installations keep working. Distinct from suspended: a developer who stops selling an app must not break the shops already running it. |
SUSPENDED | Stopped by Kaladan. Installations stop working and tokens are revoked. For an app that is abusing the platform or leaking merchant data. Blunt on purpose. |
AppSubmitPayload
Section titled “AppSubmitPayload”What appVersionSubmit returns.
appVersion
Section titled “appVersion”AppVersion
No description.
blockers
Section titled “blockers”[SubmissionBlocker!]!
What must be true before review will even look at it.
Returned as a checklist rather than as a single rejection, so a developer fixes everything in one pass instead of discovering the next problem a week later.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppVersion
Section titled “AppVersion”One immutable declaration of what an app is and what it needs.
Frozen when submitted. A merchant who approved a set of scopes can trust that the version they approved is the one running.
ID!
No description.
versionName
Section titled “versionName”String!
Semver, chosen by the developer.
status
Section titled “status”AppVersionStatus!
No description.
requestedScopes
Section titled “requestedScopes”[AccessScope!]!
What the app asks the merchant to approve.
requiresOfflineAccess
Section titled “requiresOfflineAccess”Boolean!
Whether the app can act without a staff member present.
Offline tokens survive a sign-out and are what a background job needs. They are also what a compromised app keeps, so an app that only ever acts on a click should not request one — and the review asks why when it does.
redirectUris
Section titled “redirectUris”[URL!]!
Where the merchant may come back to after authorizing on Kaladan’s page, carrying a code. An authorization request names one of these exactly, or is refused.
webhookSubscriptions
Section titled “webhookSubscriptions”[DeclaredWebhook!]!
The events the app subscribes to, declared rather than registered at runtime.
extensions
Section titled “extensions”[AppExtension!]!
What the app adds to the admin, the storefront, or checkout.
applicationUrl
Section titled “applicationUrl”URL!
The base URL the app is served from.
embedded
Section titled “embedded”Boolean!
Whether the app renders inside the admin in an iframe.
reviewNotes
Section titled “reviewNotes”String
What the reviewer said, when they said anything.
submittedAt
Section titled “submittedAt”DateTime
No description.
publishedAt
Section titled “publishedAt”DateTime
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
AppVersionConnection
Section titled “AppVersionConnection”A page of app versions.
[AppVersionEdge!]!
No description.
[AppVersion!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”Int!
No description.
AppVersionEdge
Section titled “AppVersionEdge”One version, with its cursor.
cursor
Section titled “cursor”String!
No description.
AppVersion!
No description.
AppVersionInput
Section titled “AppVersionInput”A version to draft. Everything an app declares about itself.
versionName
Section titled “versionName”String!
No description.
requestedScopes
Section titled “requestedScopes”[AccessScope!]!
No description.
requiresOfflineAccess
Section titled “requiresOfflineAccess”Boolean
No description.
redirectUris
Section titled “redirectUris”[URL!]!
No description.
applicationUrl
Section titled “applicationUrl”URL
No description.
embedded
Section titled “embedded”Boolean
No description.
webhookSubscriptions
Section titled “webhookSubscriptions”[DeclaredWebhookInput!]
No description.
extensions
Section titled “extensions”[AppExtensionInput!]
No description.
AppVersionPayload
Section titled “AppVersionPayload”What the version mutations return.
appVersion
Section titled “appVersion”AppVersion
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
AppVersionStatus
Section titled “AppVersionStatus”Where an app version stands.
| Value | Meaning |
|---|---|
DRAFT | Editable. |
IN_REVIEW | Submitted. Frozen from here on. |
APPROVED | No description. |
PUBLISHED | Live, and what new installs get. |
REJECTED | No description. |
SUPERSEDED | Superseded by a later published version. Installs on it keep running. |
AppWebhookSigning
Section titled “AppWebhookSigning”How the platform signs an app’s webhooks.
The signing secret is not the client secret. The client secret proves the app to Kaladan, and nobody can read it back. The signing secret proves Kaladan to the app, so the platform holds it as well. It is returned once, when the app is created and each time it is rotated, and never again.
Signed as Standard Webhooks. The secret is whsec_ and base64, and a
delivery carries webhook-id, webhook-timestamp and webhook-signature, so
any Standard Webhooks library verifies it. The admin’s requests for an
extension’s blocks are signed with the same secret (admin-extensions).
hasSigningSecret
Section titled “hasSigningSecret”Boolean!
Whether a signing secret has been issued. Always false for a public client, which declares no webhooks.
secretRotatedAt
Section titled “secretRotatedAt”DateTime
When the current signing secret was issued.
previousSecretRetiresAt
Section titled “previousSecretRetiresAt”DateTime
When the previous signing secret stops being added to deliveries, while a rotation is still inside its day. Until then every delivery carries both signatures.
DevelopmentStore
Section titled “DevelopmentStore”A free shop for building against.
ID!
No description.
handle
Section titled “handle”Handle!
No description.
String!
No description.
URL!
No description.
allCapabilitiesEnabled
Section titled “allCapabilitiesEnabled”Boolean!
Every capability switched on, regardless of plan.
So a developer can build against features their own merchants will have, rather than discovering a plan gate after shipping.
testPaymentsOnly
Section titled “testPaymentsOnly”Boolean!
Whether payments are in test mode. Always true, and not changeable.
A development store cannot take real money. The alternative is a developer accidentally charging somebody during a demo.
seeded
Section titled “seeded”Boolean!
Seeded with products, orders and customers, so nothing starts empty.
createdAt
Section titled “createdAt”DateTime!
No description.
expiresAt
Section titled “expiresAt”DateTime
No description.
DevelopmentStoreInput
Section titled “DevelopmentStoreInput”A development store to create.
String!
No description.
handle
Section titled “handle”Handle
No description.
Boolean
Whether to seed it with products, orders and customers.
DevelopmentStorePayload
Section titled “DevelopmentStorePayload”What the development-store mutations return.
developmentStore
Section titled “developmentStore”DevelopmentStore
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
InstallationStatus
Section titled “InstallationStatus”Where an installation stands.
| Value | Meaning |
|---|---|
ACTIVE | No description. |
UNINSTALLED | Uninstalled. The token is revoked and the app owes data deletion. The record survives so a partner can see churn and so a reinstall is recognisable as one. |
SHOP_SUSPENDED | The shop is suspended, so the app cannot act. Not the app’s fault. |
InstalledShop
Section titled “InstalledShop”A shop with an app installed, as much of it as a partner may see.
Deliberately thin. A partner is entitled to know which shops run their app and whether those installs are healthy; they are not entitled to a directory of Kaladan’s merchants with their trading volumes attached.
ID!
No description.
handle
Section titled “handle”Handle!
No description.
String!
No description.
primaryDomain
Section titled “primaryDomain”String!
No description.
planHandle
Section titled “planHandle”String!
The shop’s plan, so an app can support the plans it is used on.
LocalizedText
Section titled “LocalizedText”One string in one locale.
locale
Section titled “locale”String!
No description.
String!
No description.
LocalizedTextInput
Section titled “LocalizedTextInput”One string in one locale, as supplied.
locale
Section titled “locale”String!
No description.
String!
No description.
OtpChallenge
Section titled “OtpChallenge”A code that was sent, and what may be done with it.
challengeId
Section titled “challengeId”ID!
No description.
maskedPhone
Section titled “maskedPhone”String!
Masked, so a client can say where the code went without disclosing it.
expiresAt
Section titled “expiresAt”DateTime!
No description.
attemptsAllowed
Section titled “attemptsAllowed”Int!
How many wrong guesses are allowed before the challenge burns.
resendAfter
Section titled “resendAfter”DateTime!
When another code may be requested. Rate limiting, stated rather than guessed.
OtpPurpose
Section titled “OtpPurpose”Why a one-time code is being sent.
| Value | Meaning |
|---|---|
SIGN_IN | Signing in, or creating an organization by signing in for the first time. |
CONFIRM_ACTION | Confirming something already authenticated. |
Partner
Section titled “Partner”A developer’s organization.
ID!
No description.
handle
Section titled “handle”Handle!
No description.
String!
No description.
contactEmail
Section titled “contactEmail”String
Where Kaladan reaches them about a review or an incident.
contactPhone
Section titled “contactPhone”String
No description.
verification
Section titled “verification”PartnerVerificationState!
Whether the organization has been verified.
An unverified partner may build and install apps on their own development stores, and may not list anything publicly. Verification is what stands between the app store and anyone.
AppConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
members
Section titled “members”[PartnerMember!]!
No description.
sessions
Section titled “sessions”[PartnerSession!]!
The signed-in developer’s own devices.
Sessions are a person’s, not an organization’s: this lists the caller’s, and never a colleague’s.
developmentStores
Section titled “developmentStores”[DevelopmentStore!]!
Free, watermarked shops for building and testing against.
createdAt
Section titled “createdAt”DateTime!
No description.
PartnerMember
Section titled “PartnerMember”Somebody who may act for a partner organization.
ID!
No description.
String!
No description.
displayName
Section titled “displayName”String!
No description.
String
No description.
PartnerRole!
No description.
lastSeenAt
Section titled “lastSeenAt”DateTime
No description.
PartnerOrganization
Section titled “PartnerOrganization”An organization as a picker shows it: enough to choose one, and nothing about what is inside.
ID!
No description.
handle
Section titled “handle”Handle!
No description.
String!
No description.
PartnerRole!
The signed-in developer’s role there.
PartnerOtpRequestPayload
Section titled “PartnerOtpRequestPayload”What partnerOtpRequest returns.
challenge
Section titled “challenge”OtpChallenge
Present whether or not an organization exists. The two are indistinguishable.
userErrors
Section titled “userErrors”[UserError!]!
No description.
PartnerOtpVerifyPayload
Section titled “PartnerOtpVerifyPayload”What partnerOtpVerify returns.
tokens
Section titled “tokens”PartnerSessionTokens
The account session: who the developer is. It reaches
partnerOrganizations and partnerSessionCreate, and nothing that acts for
an organization.
organization
Section titled “organization”PartnerOrganization
The organization organizationTokens opens, present exactly when they are.
organizationTokens
Section titled “organizationTokens”PartnerSessionTokens
That organization’s session, when there is exactly one to open: the one this verification created, or the only one the developer belongs to. Absent with several, where the picker chooses.
isNewPartner
Section titled “isNewPartner”Boolean
Whether this verification created the organization.
What sends a developer to “name your organization and apply for verification” rather than to a dashboard with nothing in it.
userErrors
Section titled “userErrors”[UserError!]!
No description.
PartnerPayload
Section titled “PartnerPayload”What partnerUpdate returns.
partner
Section titled “partner”Partner
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
PartnerRole
Section titled “PartnerRole”What a partner member may do.
| Value | Meaning |
|---|---|
OWNER | Everything, including billing and adding members. |
DEVELOPER | Build, submit, and manage apps. Not billing. |
ANALYST | Read-only. |
PartnerSession
Section titled “PartnerSession”A device the signed-in developer is signed in on.
A person’s, not an organization’s: an organization has several people in it, and none of them sees another’s devices.
ID!
No description.
isCurrent
Section titled “isCurrent”Boolean!
No description.
deviceLabel
Section titled “deviceLabel”String
Derived from the user agent, which lies. A hint for recognition, not identity.
maskedIp
Section titled “maskedIp”String
No description.
approximateLocation
Section titled “approximateLocation”String
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
lastSeenAt
Section titled “lastSeenAt”DateTime!
No description.
PartnerSessionPayload
Section titled “PartnerSessionPayload”What partnerSessionCreate and partnerSessionRefresh return: one organization’s session.
organization
Section titled “organization”PartnerOrganization
The organization this session opens, so a client can render it without a re-read. Absent on a refresh, where the client already holds it.
tokens
Section titled “tokens”PartnerSessionTokens
Send as Authorization: Bearer for everything that acts for this
organization. Short-lived; keep it in memory.
userErrors
Section titled “userErrors”[UserError!]!
EXPIRED or NOT_FOUND on a refresh. Treat both the same: back to the picker.
PartnerSessionRevokePayload
Section titled “PartnerSessionRevokePayload”What the sign-out and revoke mutations return.
revoked
Section titled “revoked”Boolean!
True for a token that was already invalid. Signing out twice is not an error.
sessions
Section titled “sessions”[PartnerSession!]!
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
PartnerSessionTokens
Section titled “PartnerSessionTokens”A signed-in partner session: what to send, and what to renew it with.
accessToken
Section titled “accessToken”String!
Send as Authorization: Bearer. Short-lived. Keep it in memory.
accessTokenExpiresAt
Section titled “accessTokenExpiresAt”DateTime!
No description.
refreshToken
Section titled “refreshToken”String!
Single-use. Presenting a spent one revokes the session as stolen.
refreshTokenExpiresAt
Section titled “refreshTokenExpiresAt”DateTime!
No description.
PartnerTokenRefreshPayload
Section titled “PartnerTokenRefreshPayload”What partnerTokenRefresh returns: the account session, renewed.
tokens
Section titled “tokens”PartnerSessionTokens
No description.
userErrors
Section titled “userErrors”[UserError!]!
EXPIRED or NOT_FOUND. Treat both the same: clear state and sign in.
PartnerUpdateInput
Section titled “PartnerUpdateInput”What a partner may change about their organization.
String
No description.
contactEmail
Section titled “contactEmail”String
No description.
contactPhone
Section titled “contactPhone”String
No description.
PartnerVerificationState
Section titled “PartnerVerificationState”Where a partner’s verification stands.
| Value | Meaning |
|---|---|
UNVERIFIED | No description. |
PENDING | No description. |
VERIFIED | No description. |
REJECTED | Refused, or withdrawn after the fact. |
SubmissionBlocker
Section titled “SubmissionBlocker”One thing standing between an app and review.
SubmissionBlockerCode!
No description.
target
Section titled “target”String
Which field or extension it concerns.
message
Section titled “message”String!
No description.
SubmissionBlockerCode
Section titled “SubmissionBlockerCode”What can stand between an app and review.
| Value | Meaning |
|---|---|
PARTNER_UNVERIFIED | The partner organization is not verified. |
LISTING_INCOMPLETE | The listing is incomplete. |
COMPLIANCE_WEBHOOKS_MISSING | A mandatory compliance webhook is not declared. customers/data_request, customers/redact and shop/redact are required of every listed app, and their endpoints must answer before approval — an app that cannot honour an erasure request must not hold merchant data at all. |
WEBHOOK_ENDPOINT_UNREACHABLE | A declared webhook endpoint did not answer, or failed signature validation. |
SCOPE_NOT_JUSTIFIED | A scope is requested that the app’s described function does not need. |
DATA_DISCLOSURE_MISSING | No privacy policy, or no disclosure of where merchant data goes. |
INSECURE_REDIRECT | The OAuth redirect is not HTTPS, or is a wildcard. |
EXTENSION_INVALID | An extension does not validate against its own contract. |
PRICING_UNDECLARED | No pricing is described, on an app that charges. |