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

Catalogue

Object

A group of products a merchant put together — دسته‌بندی.

Membership is either a list the merchant curates or a rule the platform evaluates. Both are the same object, because a storefront asking “what is in this collection” should not have to know which.

ID!

No description.

Version!

No description.

Handle!

No description.

String!

No description.

HTML

No description.

Image

No description.

CollectionMembership!

How membership is decided.

[CollectionRule!]!

The rules, when membership is AUTOMATIC. Empty otherwise.

CollectionRulesMatch!

Whether a product must match every rule or any of them.

ProductConnection!

No description.

ArgumentTypeMeaning
firstIntNo description.
afterStringNo description.
sortKeyCollectionProductSortKeys · default "MANUAL"No description.

Int!

No description.

CollectionProductSortKeys!

The order products appear on the storefront, when the merchant set one.

[Publication!]!

No description.

SEO!

No description.

DateTime!

No description.

Metafield

No description.

ArgumentTypeMeaning
namespaceStringNo description.
keyString!No description.

[Metafield]!

No description.

ArgumentTypeMeaning
identifiers[MetafieldIdentifier!]!No description.
Enum

How a collection listing is ordered.

ValueMeaning
TITLENo description.
UPDATED_ATNo description.
PRODUCT_COUNTNo description.
Object

A page of collections.

[CollectionEdge!]!

No description.

[Collection!]!

No description.

PageInfo!

No description.

Int

How many match across every page — when this page is the whole result. Null otherwise: the service behind this list does not count, and a number made up here would be a wrong one that looks right.

Input

A new collection.

String!

No description.

Handle

No description.

HTML

No description.

CollectionMembership

No description.

[CollectionRuleInput!]

No description.

CollectionRulesMatch

No description.

CollectionProductSortKeys

No description.

SEOInput

No description.

[MetafieldInput!]

No description.

[ID!]

No description.

Object

One collection, with its cursor.

String!

No description.

Collection!

No description.

Enum

How a collection decides what is in it.

ValueMeaning
MANUALThe merchant adds and removes products by hand.
AUTOMATICThe platform evaluates rules; membership changes as products change.
Object

What the collection mutations return.

Collection

No description.

[UserError!]!

No description.

Enum

How products are ordered within a collection.

ValueMeaning
MANUALThe merchant’s own arrangement. Only meaningful for a manual collection.
TITLENo description.
PRICENo description.
CREATED_ATNo description.
BEST_SELLINGNo description.
INVENTORY_QUANTITYNo description.
Object

One condition on automatic membership.

CollectionRuleField!

No description.

CollectionRuleOperator!

No description.

String!

No description.

Enum

What an automatic-collection rule tests.

ValueMeaning
TITLENo description.
TYPENo description.
VENDORNo description.
TAGNo description.
PRICENo description.
COMPARE_AT_PRICENo description.
WEIGHTNo description.
INVENTORY_QUANTITYNo description.
VARIANT_TITLENo description.
CATEGORYNo description.
METAFIELDNo description.
Input

One condition, as supplied.

CollectionRuleField!

No description.

CollectionRuleOperator!

No description.

String!

No description.

Enum

How a rule compares.

ValueMeaning
EQUALSNo description.
NOT_EQUALSNo description.
GREATER_THANNo description.
LESS_THANNo description.
STARTS_WITHNo description.
ENDS_WITHNo description.
CONTAINSNo description.
NOT_CONTAINSNo description.
IS_SETNo description.
IS_NOT_SETNo description.
Enum

Whether a product must match every rule or any of them.

ValueMeaning
ALLNo description.
ANYNo description.
Input

Changes to a collection. Partial; rules replaces wholesale when present.

String

No description.

Handle

No description.

HTML

No description.

[CollectionRuleInput!]

No description.

CollectionRulesMatch

No description.

CollectionProductSortKeys

No description.

SEOInput

No description.

[MetafieldInput!]

No description.

Input

Opening stock for one variant at one location.

ID!

No description.

Int!

No description.

Object

What a mutation that starts long-running work returns.

Job

No description.

[UserError!]!

No description.

Object

A page of media.

[MediaEdge!]!

No description.

[Media!]!

No description.

PageInfo!

No description.

Object

One media item, with its cursor.

String!

No description.

Media!

No description.

Object

What the media mutations return.

[Media!]!

No description.

Product

No description.

[UserError!]!

No description.

Object

Something a merchant sells.

ID!

No description.

Version!

No description.

Handle!

No description.

String!

No description.

HTML

Rich text, sanitized on write.

String

No description.

String

No description.

[String!]!

No description.

ProductStatus!

Draft products are invisible to every storefront regardless of publication.

Two switches rather than one because they answer different questions: status is “is this finished”, publication is “where does it belong”. A finished product can be published nowhere; an unfinished one published everywhere is still invisible.

[Publication!]!

Where this is published, one entry per channel it is on.

Media

No description.

MediaConnection!

No description.

ArgumentTypeMeaning
firstIntNo description.
afterStringNo description.

[ProductOption!]!

The axes buyers choose along, in presentation order.

ProductVariantConnection!

No description.

ArgumentTypeMeaning
firstIntNo description.
afterStringNo description.
lastIntNo description.
beforeStringNo description.
sortKeyProductVariantSortKeys · default "POSITION"No description.
reverseBoolean · default falseNo description.

Int!

How many variants exist, without paging them.

MoneyRange!

No description.

MoneyRange

No description.

Int

Total stock across every variant and location.

Null when no variant tracks inventory — which is not the same as zero, and an admin that renders it as zero tells the merchant they have nothing to sell.

CollectionConnection!

No description.

ArgumentTypeMeaning
firstIntNo description.
afterStringNo description.

TaxonomyCategory

No description.

SEO!

Crawler metadata. Blank fields fall back to the product’s own.

ResourceSource

Where the product came from, when it was not typed in by hand — an Excel import, an Instagram post, a Digikala sync.

Kept because a merchant looking at a wrong price needs to know whether they typed it or a feed did.

DateTime!

No description.

DateTime!

No description.

DateTime

No description.

Metafield

No description.

ArgumentTypeMeaning
namespaceStringNo description.
keyString!No description.

[Metafield]!

No description.

ArgumentTypeMeaning
identifiers[MetafieldIdentifier!]!No description.
Input

A filter on a product listing in the admin.

[ProductStatus!]

No description.

String

No description.

String

No description.

String

No description.

ID

No description.

ID

Products published on this channel.

Boolean

Products published nowhere. For finding what a merchant forgot to launch.

Int

Stock at or below a threshold, across every location.

Boolean

Products with no image. The single most common catalogue defect.

DateTime

No description.

DateTime

No description.

Enum

How an admin product listing is ordered.

ValueMeaning
TITLENo description.
CREATED_ATNo description.
UPDATED_ATNo description.
INVENTORY_TOTALNo description.
PRODUCT_TYPENo description.
VENDORNo description.
Object

A page of products.

[ProductEdge!]!

No description.

[Product!]!

No description.

PageInfo!

No description.

Int

How many match across every page. Counted for products, over the whole filter up to 10000, and a client showing it says “10000 or more”; null for a collection’s products, which the catalogue lists without counting, unless this page is the whole result.

Input

A new product. title is the only thing required to create one.

Everything else can be filled in later, because a merchant photographing stock on a phone types the name first and the rest afterwards, and a form that refuses to save until it is complete is a form that loses work.

String!

No description.

Handle

No description.

HTML

No description.

String

No description.

String

No description.

[String!]

No description.

ProductStatus

No description.

ID

No description.

SEOInput

No description.

[ProductOptionInput!]

Option axes. A product created with none gets one default variant.

[ProductVariantCreateInput!]

Variants to create with it. Omit for a single-variant product.

[MetafieldInput!]

No description.

[ID!]

Channels to publish to immediately. Omit to publish nowhere.

Object

One product, with its cursor.

String!

No description.

Product!

No description.

Object

One axis a buyer chooses along — رنگ, سایز.

ID!

No description.

String!

No description.

Int!

No description.

ProductOptionPresentation!

How the storefront should render it — swatch, chip, dropdown.

[ProductOptionValue!]!

No description.

Input

An option axis as supplied.

String!

No description.

ProductOptionPresentation

No description.

[ProductOptionValueInput!]!

No description.

Enum

How an option is best rendered.

ValueMeaning
SWATCHNo description.
CHIPNo description.
IMAGENo description.
DROPDOWNNo description.
Object

One value on one axis.

ID!

No description.

String!

No description.

String

No description.

Image

No description.

Input

One value on an axis, as supplied.

String!

No description.

String

No description.

ID

No description.

Object

What the product mutations return.

Product

No description.

[UserError!]!

No description.

Enum

Whether a product is finished.

ValueMeaning
DRAFTBeing worked on. Invisible to every storefront.
ACTIVENo description.
ARCHIVEDWithdrawn but kept, so orders referencing it still render.
Input

Changes to a product.

Partial. A field omitted is unchanged; a field sent as explicit null is cleared. tags and options are replaced wholesale when present — they are sets, and merging a set has no unambiguous meaning.

String

No description.

Handle

No description.

HTML

No description.

String

No description.

String

No description.

[String!]

No description.

ProductStatus

No description.

ID

No description.

SEOInput

No description.

[MetafieldInput!]

No description.

Object

The purchasable unit: one combination of option values.

ID!

No description.

Version!

No description.

String!

No description.

String

No description.

String

No description.

Int!

No description.

[SelectedOption!]!

No description.

Money!

No description.

Money

No description.

Money

What the merchant pays for it — بهای تمام‌شده.

Separately scoped from the rest of the variant: margin is the most commercially sensitive number a shop holds, and an app that needs to read prices almost never needs to read cost.

Float

Margin as a fraction, from price and cost. Null when cost is unset.

Computed here so every admin screen and every report agrees on the formula.

InventoryItem

The stock record behind this variant, or null when it does not track inventory — a service, a made-to-order item, a digital download.

Int

Sellable across every location. Null when inventory is not tracked.

Boolean!

Whether it can still be sold at zero — backorder or made to order.

Boolean!

No description.

Weight

No description.

Dimensions

No description.

Int

Per-order cap, for scarce or rationed goods. Null for uncapped.

Image

No description.

Product!

No description.

DateTime!

No description.

DateTime!

No description.

Metafield

No description.

ArgumentTypeMeaning
namespaceStringNo description.
keyString!No description.

[Metafield]!

No description.

ArgumentTypeMeaning
identifiers[MetafieldIdentifier!]!No description.
Object

A page of variants.

[ProductVariantEdge!]!

No description.

[ProductVariant!]!

No description.

PageInfo!

No description.

Int

How many match across every page — when this page is the whole result. Null otherwise: the service behind this list does not count, and a number made up here would be a wrong one that looks right.

Input

A new variant.

[SelectedOptionInput!]!

Which value on each axis. Must name every axis the product has.

MoneyInput!

No description.

MoneyInput

No description.

MoneyInput

No description.

String

No description.

String

No description.

WeightInput

No description.

DimensionsInput

No description.

Boolean

No description.

Boolean

No description.

Int

No description.

[InventoryQuantityInput!]

Opening stock per location. Omit for a variant that does not track it.

[MetafieldInput!]

No description.

Object

One variant, with its cursor.

String!

No description.

ProductVariant!

No description.

Object

What the variant mutations return.

[ProductVariant!]!

The variants after the operation, in the order supplied.

Product

No description.

[UserError!]!

No description.

Enum

How a variant list is ordered.

ValueMeaning
POSITIONNo description.
TITLENo description.
PRICENo description.
SKUNo description.
INVENTORY_QUANTITYNo description.
Input

Changes to a variant. Partial, with the same null semantics as a product.

ID!

No description.

MoneyInput

No description.

MoneyInput

No description.

MoneyInput

No description.

String

No description.

String

No description.

WeightInput

No description.

DimensionsInput

No description.

Boolean

No description.

Boolean

No description.

Int

No description.

Int

No description.

[MetafieldInput!]

No description.

Object

Where a resource came from.

String!

manual, import, instagram, digikala, or an app’s handle.

String

The id in that system, for re-syncing and for de-duplicating.

DateTime

No description.

Object

What a page tells a crawler about itself.

String

No description.

String

No description.

URL

Set by the merchant to override the platform’s canonical. Rarely correct.

Boolean!

No description.

Input

SEO fields as supplied.

String

No description.

String

No description.

URL

No description.

Boolean

No description.

Object

One axis and the value chosen on it.

String!

No description.

String!

No description.

Input

One axis and the value chosen on it, as supplied.

String!

No description.

String!

No description.

Object

What stagedUploadsCreate returns.

[StagedUpload!]!

No description.

[UserError!]!

No description.

Object

A node in the product taxonomy.

Most nodes are platform-maintained and shared across every shop — the anchor the Torob and Digikala mappings hang off. A merchant whose goods do not fit anything already listed can hang a shop-owned node under one of those (taxonomyExtensionCreate). Shop nodes are not shared: they inherit the nearest platform ancestor’s mappings, and only that ancestor is comparable across shops.

ID!

No description.

Handle!

No description.

String!

No description.

Boolean!

True when this node belongs to the calling shop, hung under the shared tree.

Platform nodes are the same for every shop. Extensions are not: they exist so a merchant can still classify goods the shared tree does not name, without editing the tree everyone else sees. An extension is never a root.

TaxonomyCategory

No description.

[TaxonomyCategory!]!

Root first, this category last. Returned whole; a breadcrumb needs all of it.

[TaxonomyCategory!]!

No description.

[TaxonomyMapping!]!

How this maps onto an external marketplace’s own tree.

Maintained by the platform. A merchant who has classified a product correctly here should never be asked to classify it again for Torob.

Object

What hanging a shop-owned node under the shared tree returns.

TaxonomyCategory

No description.

[UserError!]!

No description.

Input

A shop-owned node, hung under a platform category or another of this shop’s.

The parent is required and is never omitted: an extension is never a root, because a root with no platform ancestor has no commodity code and nothing to map onto a marketplace’s tree.

ID!

A platform category, or another of this shop’s extensions.

String!

The name shown to staff. Persian.

Object

How a taxonomy node maps onto somebody else’s tree.

String!

torob, digikala, basalam, google.

String!

No description.

String

No description.