Product feeds
FeedConfiguration
Section titled “FeedConfiguration”A catalogue published somewhere that indexes it.
One per sales channel of kind FEED, or the shop’s SHOWCASE channel for the
hub’s own target. The channel says where
and carries the publications; this says how — which fields, how often, and
under what constraints the target imposes.
ID!
No description.
version
Section titled “version”Version!
No description.
channel
Section titled “channel”SalesChannel!
The channel whose publications this feed renders.
target
Section titled “target”FeedTarget!
No description.
isActive
Section titled “isActive”Boolean!
Whether the feed is being generated and served at all.
URL
Where the target should fetch it.
Stable across regenerations — a merchant pastes this into Torob’s dashboard once — and authenticated by an opaque token in the path, so a competitor cannot enumerate every shop’s wholesale pricing by guessing handles.
Null until the first generation succeeds. Rotate with feedUrlRotate if it
leaks; the old one stops working immediately, and the merchant re-registers.
format
Section titled “format”FeedFormat!
No description.
schedule
Section titled “schedule”FeedSchedule!
How often it regenerates.
Targets impose their own minimums and the platform enforces the stricter of
the two — a merchant asking for hourly against a target that crawls daily
gets daily, and effectiveSchedule says so rather than silently disagreeing.
effectiveSchedule
Section titled “effectiveSchedule”FeedSchedule!
No description.
filters
Section titled “filters”FeedFilters
Which of the channel’s published products actually go.
Narrows, never widens. A product absent from the channel’s publications is absent from the feed whatever this says. Null means everything published.
Most merchants exclude the same two things: variants below a price the target rejects, and products with no image, which most aggregators drop anyway.
fieldMappings
Section titled “fieldMappings”[FeedFieldMapping!]!
How this shop’s fields map onto the target’s.
Null uses the platform’s mapping for that target, which is right for almost everybody. It exists because aggregators disagree about which field carries a brand and where a GTIN lives, and a merchant whose products are rejected for a mapping reason needs somewhere to fix it that is not a support ticket.
lastRun
Section titled “lastRun”FeedRun
The most recent generation, whether it worked or not.
itemCount
Section titled “itemCount”Int!
How many products the last successful generation contained.
createdAt
Section titled “createdAt”DateTime!
No description.
updatedAt
Section titled “updatedAt”DateTime!
No description.
FeedConfigurationInput
Section titled “FeedConfigurationInput”A feed to configure. Partial on update.
targetHandle
Section titled “targetHandle”Handle!
The target’s handle — torob, kaladan-hub, or an app’s.
channelId
Section titled “channelId”ID
The channel to feed from.
Omitted, the platform creates one of the right kind for the target and names it after it. Most merchants never think about the channel at all, which is the intent — they think about Torob.
isActive
Section titled “isActive”Boolean
No description.
format
Section titled “format”FeedFormat
No description.
schedule
Section titled “schedule”FeedSchedule
No description.
filters
Section titled “filters”FeedFiltersInput
No description.
fieldMappings
Section titled “fieldMappings”[FeedFieldMappingInput!]
No description.
FeedConfigurationPayload
Section titled “FeedConfigurationPayload”What the feed-configuration mutations return.
feedConfiguration
Section titled “feedConfiguration”FeedConfiguration
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
FeedDrop
Section titled “FeedDrop”Why some products did not make it into a feed.
reason
Section titled “reason”FeedDropReason!
No description.
Int!
No description.
sampleProductIds
Section titled “sampleProductIds”[ID!]!
A few examples, so a merchant can go and look rather than guess.
String
Which field was missing, for MISSING_REQUIRED_FIELD.
FeedDropReason
Section titled “FeedDropReason”Why a product was dropped from a feed.
| Value | Meaning |
|---|---|
MISSING_REQUIRED_FIELD | The target requires a field this product has not got. |
NO_IMAGE | No description. |
OUT_OF_STOCK | No description. |
BELOW_MINIMUM_PRICE | No description. |
EXCLUDED_BY_FILTER | No description. |
UNCLASSIFIED | No commodity code, no category — the target could not place it. |
REJECTED_BY_TARGET | The target refused it by its own rules, when it says so. |
FeedFieldMapping
Section titled “FeedFieldMapping”One field of ours, renamed or reshaped for one target.
targetField
Section titled “targetField”String!
The target’s field name — product_id, availability.
sourceField
Section titled “sourceField”String!
Ours, as a path — variant.sku, product.vendor, metafield.custom.brand.
Metafields are addressable deliberately: a merchant who put their brand in a metafield because the platform had no field for it should not be locked out of feeding it.
fallback
Section titled “fallback”String
Used when the source is empty. What stops a whole product being rejected.
FeedFieldMappingInput
Section titled “FeedFieldMappingInput”One field mapping as supplied.
targetField
Section titled “targetField”String!
No description.
sourceField
Section titled “sourceField”String!
No description.
fallback
Section titled “fallback”String
No description.
FeedFilters
Section titled “FeedFilters”What narrows a feed below the channel’s publications.
collectionIds
Section titled “collectionIds”[ID!]!
Only products in these collections. Empty means no collection filter.
excludeTags
Section titled “excludeTags”[String!]!
Exclude products carrying any of these tags — حراج, نمونه.
minimumPrice
Section titled “minimumPrice”Money
Drop variants under this price. Targets reject implausibly cheap listings.
inStockOnly
Section titled “inStockOnly”Boolean!
Drop anything out of stock. Most aggregators penalise dead listings.
requireImage
Section titled “requireImage”Boolean!
Drop products with no image. Most targets reject them anyway.
FeedFiltersInput
Section titled “FeedFiltersInput”Filters as supplied. Replaces wholesale; a set has no unambiguous merge.
collectionIds
Section titled “collectionIds”[ID!]
No description.
excludeTags
Section titled “excludeTags”[String!]
No description.
minimumPrice
Section titled “minimumPrice”MoneyInput
No description.
inStockOnly
Section titled “inStockOnly”Boolean
No description.
requireImage
Section titled “requireImage”Boolean
No description.
FeedFormat
Section titled “FeedFormat”The file format a feed is produced in.
| Value | Meaning |
|---|---|
XML | What Torob and most Iranian aggregators read. |
RSS | Google-style product feed, for targets that speak it. |
CSV | No description. |
JSON | The Kaladan hub’s own, and what an app target will usually want. |
FeedGeneratePayload
Section titled “FeedGeneratePayload”What feedGenerate returns.
Job
Poll it, or wait for job.completed.
feedConfiguration
Section titled “feedConfiguration”FeedConfiguration
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
FeedPrerequisite
Section titled “FeedPrerequisite”Something a merchant must have before a target will list them.
| Value | Meaning |
|---|---|
ENAMAD | نماد اعتماد — Torob will not list a shop without it. |
SAMANDEHI | No description. |
BUSINESS_PROFILE | A verified business profile. |
PUBLISHED_PRODUCTS | At least one product published to the channel. |
CUSTOM_DOMAIN | A custom domain rather than a Kaladan subdomain. |
FeedPreview
Section titled “FeedPreview”What feedPreview returns — what would happen, without generating anything.
The screen to show before a merchant turns a feed on. Four hundred products dropped for a missing brand is a thing to learn now, not from Torob’s silence a week later.
target
Section titled “target”FeedTarget!
No description.
itemCount
Section titled “itemCount”Int!
How many of the channel’s published products would go.
droppedCount
Section titled “droppedCount”Int!
No description.
[FeedDrop!]!
No description.
unmetPrerequisites
Section titled “unmetPrerequisites”[FeedPrerequisite!]!
Prerequisites this shop has not met. Non-empty means the feed cannot run.
sample
Section titled “sample”JSON
A few rendered items, so a merchant can see what the target will see.
FeedRun
Section titled “FeedRun”One generation of a feed.
ID!
No description.
Job
The job that produced it — JobKind.FEED_GENERATION.
status
Section titled “status”FeedRunStatus!
No description.
itemCount
Section titled “itemCount”Int!
No description.
droppedCount
Section titled “droppedCount”Int!
How many were dropped, and why. The number a merchant actually asks about.
[FeedDrop!]!
No description.
startedAt
Section titled “startedAt”DateTime!
No description.
completedAt
Section titled “completedAt”DateTime
No description.
targetResponse
Section titled “targetResponse”String
What the target said, when it tells us anything.
Most do not, and a feed that generates perfectly can still be rejected silently on the far side. Null is the ordinary case and does not mean success.
FeedRunStatus
Section titled “FeedRunStatus”Where a generation got to.
| Value | Meaning |
|---|---|
RUNNING | No description. |
COMPLETED | No description. |
COMPLETED_WITH_DROPS | Generated, with products dropped. The common outcome, and not a failure. |
FAILED | No description. |
FeedSchedule
Section titled “FeedSchedule”How often a feed regenerates.
| Value | Meaning |
|---|---|
HOURLY | No description. |
SIX_HOURLY | Every six hours. What most aggregators actually crawl at. |
DAILY | No description. |
MANUAL | Only when feedGenerate is called. For a merchant testing a mapping. |
FeedTarget
Section titled “FeedTarget”Where a feed goes.
First-party targets are maintained by Kaladan. APP is provided by an
installed app, which is what keeps this from being a list Kaladan has to extend
every time an aggregator appears.
handle
Section titled “handle”Handle!
torob, emalls, kaladan-hub, or an app’s own handle.
String!
No description.
FeedTargetKind!
No description.
appHandle
Section titled “appHandle”String
The app providing it, for APP. Null for first-party targets.
requiredFields
Section titled “requiredFields”[String!]!
What this target requires of a product before it will accept it.
Published so a merchant can be told before generation why four hundred
products will be dropped, rather than after — and so feedPreview can count
them.
supportedFormats
Section titled “supportedFormats”[FeedFormat!]!
Formats it accepts. The first is the platform’s default for it.
minimumInterval
Section titled “minimumInterval”FeedSchedule!
The most often it will read. The platform will not schedule faster.
prerequisites
Section titled “prerequisites”[FeedPrerequisite!]!
What the merchant must have before this target will list them.
e-Namad for Torob, and the platform checks it rather than letting a merchant configure a feed that will be silently ignored. Empty for targets with no precondition.
FeedTargetKind
Section titled “FeedTargetKind”Who maintains a feed target.
| Value | Meaning |
|---|---|
FIRST_PARTY | Maintained by Kaladan — Torob, Emalls. |
KALADAN_HUB | Kaladan’s own hub, on kaladan.shop. Its own kind rather than FIRST_PARTY, because it is not an outside aggregator. Every shop already has its page there, its showcase, free. This target is what puts the products on the showcase channel into the hub’s explore and search. - The platform switches it on, per shop, once the showcase is listed. - The merchant opts out of listing rather than configuring this target. - Until the hub index is built, the target stays switched off. |
APP | Registered by an installed app. |