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

Product feeds

Object

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!

No description.

SalesChannel!

The channel whose publications this feed renders.

FeedTarget!

No description.

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.

FeedFormat!

No description.

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.

FeedSchedule!

No description.

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.

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

FeedRun

The most recent generation, whether it worked or not.

Int!

How many products the last successful generation contained.

DateTime!

No description.

DateTime!

No description.

Input

A feed to configure. Partial on update.

Handle!

The target’s handle — torob, kaladan-hub, or an app’s.

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.

Boolean

No description.

FeedFormat

No description.

FeedSchedule

No description.

FeedFiltersInput

No description.

[FeedFieldMappingInput!]

No description.

Object

What the feed-configuration mutations return.

FeedConfiguration

No description.

[UserError!]!

No description.

Object

Why some products did not make it into a feed.

FeedDropReason!

No description.

Int!

No description.

[ID!]!

A few examples, so a merchant can go and look rather than guess.

String

Which field was missing, for MISSING_REQUIRED_FIELD.

Enum

Why a product was dropped from a feed.

ValueMeaning
MISSING_REQUIRED_FIELDThe target requires a field this product has not got.
NO_IMAGENo description.
OUT_OF_STOCKNo description.
BELOW_MINIMUM_PRICENo description.
EXCLUDED_BY_FILTERNo description.
UNCLASSIFIEDNo commodity code, no category — the target could not place it.
REJECTED_BY_TARGETThe target refused it by its own rules, when it says so.
Object

One field of ours, renamed or reshaped for one target.

String!

The target’s field name — product_id, availability.

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.

String

Used when the source is empty. What stops a whole product being rejected.

Input

One field mapping as supplied.

String!

No description.

String!

No description.

String

No description.

Object

What narrows a feed below the channel’s publications.

[ID!]!

Only products in these collections. Empty means no collection filter.

[String!]!

Exclude products carrying any of these tags — حراج, نمونه.

Money

Drop variants under this price. Targets reject implausibly cheap listings.

Boolean!

Drop anything out of stock. Most aggregators penalise dead listings.

Boolean!

Drop products with no image. Most targets reject them anyway.

Input

Filters as supplied. Replaces wholesale; a set has no unambiguous merge.

[ID!]

No description.

[String!]

No description.

MoneyInput

No description.

Boolean

No description.

Boolean

No description.

Enum

The file format a feed is produced in.

ValueMeaning
XMLWhat Torob and most Iranian aggregators read.
RSSGoogle-style product feed, for targets that speak it.
CSVNo description.
JSONThe Kaladan hub’s own, and what an app target will usually want.
Object

What feedGenerate returns.

Job

Poll it, or wait for job.completed.

FeedConfiguration

No description.

[UserError!]!

No description.

Enum

Something a merchant must have before a target will list them.

ValueMeaning
ENAMADنماد اعتماد — Torob will not list a shop without it.
SAMANDEHINo description.
BUSINESS_PROFILEA verified business profile.
PUBLISHED_PRODUCTSAt least one product published to the channel.
CUSTOM_DOMAINA custom domain rather than a Kaladan subdomain.
Object

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.

FeedTarget!

No description.

Int!

How many of the channel’s published products would go.

Int!

No description.

[FeedDrop!]!

No description.

[FeedPrerequisite!]!

Prerequisites this shop has not met. Non-empty means the feed cannot run.

JSON

A few rendered items, so a merchant can see what the target will see.

Object

One generation of a feed.

ID!

No description.

Job

The job that produced it — JobKind.FEED_GENERATION.

FeedRunStatus!

No description.

Int!

No description.

Int!

How many were dropped, and why. The number a merchant actually asks about.

[FeedDrop!]!

No description.

DateTime!

No description.

DateTime

No description.

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.

Enum

Where a generation got to.

ValueMeaning
RUNNINGNo description.
COMPLETEDNo description.
COMPLETED_WITH_DROPSGenerated, with products dropped. The common outcome, and not a failure.
FAILEDNo description.
Enum

How often a feed regenerates.

ValueMeaning
HOURLYNo description.
SIX_HOURLYEvery six hours. What most aggregators actually crawl at.
DAILYNo description.
MANUALOnly when feedGenerate is called. For a merchant testing a mapping.
Object

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!

torob, emalls, kaladan-hub, or an app’s own handle.

String!

No description.

FeedTargetKind!

No description.

String

The app providing it, for APP. Null for first-party targets.

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

[FeedFormat!]!

Formats it accepts. The first is the platform’s default for it.

FeedSchedule!

The most often it will read. The platform will not schedule faster.

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

Enum

Who maintains a feed target.

ValueMeaning
FIRST_PARTYMaintained by Kaladan — Torob, Emalls.
KALADAN_HUBKaladan’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.
APPRegistered by an installed app.