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

Content

Object

A blog post.

ID!

A globally unique, opaque identifier. Never parse or construct one.

Handle!

Unique within its blog, not across the shop — two blogs may both have a nowruz article. Address one with a ArticleHandleInput.

String!

The article’s headline in the current locale.

HTML!

The body, sanitized.

String!

The body with markup removed.

String!

The merchant’s summary, or a trimmed opening when they wrote none.

Never null, so a card always has something to print.

Image

The lead image.

ArticleAuthor

Who wrote it.

[String!]!

Merchant-applied tags.

Blog!

The blog it belongs to.

SEO!

Crawler-facing metadata, including generated schema.org markup.

URL

The article’s canonical URL on the shop’s primary domain.

DateTime!

When the merchant published it. What a blog index sorts on.

DateTime!

When it last changed.

The value to hold for cache revalidation, and the one a headless storefront keys incremental regeneration on.

Metafield

One of this article’s metafields, or null when it is unset or not published to the storefront — the two are deliberately indistinguishable.

ArgumentTypeMeaning
namespaceStringThe owning app, or custom for a merchant’s own. Defaults to custom.
keyString!The metafield’s key within its namespace.

[Metafield]!

Several of this article’s metafields at once.

The result is positional: one entry per identifier, in the order asked, null where there is nothing to return.

ArgumentTypeMeaning
identifiers[MetafieldIdentifier!]!The metafields to fetch. The result has one entry per identifier.
Object

Who wrote an article.

String!

The author’s name as the merchant recorded it. Merchant text; render as-is.

String

A line or two about them, when the merchant wrote any.

Image

Their portrait.

Object

A page of articles.

[ArticleEdge!]!

Each Article with its cursor. Use this when you need to page.

[Article!]!

The Articles themselves, unwrapped. Use this when you do not.

PageInfo!

Whether there is more, and the cursors to ask with.

Int!

Total matching results, capped at a bound the platform will not count past.

Object

One article, with its cursor.

String!

This position in the current ordering. Pass it as after or before.

Article!

The Article at this position.

Input

Names one article — a handle is only unique within its blog.

Handle!

The blog’s handle.

Handle!

The article’s handle within that blog.

Enum

How an article list is ordered.

ValueMeaning
PUBLISHED_ATNo description.
UPDATED_ATNo description.
TITLENo description.
RELEVANCENo description.
Object

A collection of articles — وبلاگ.

ID!

A globally unique, opaque identifier. Never parse or construct one.

Handle!

The blog’s slug on this storefront.

String!

The blog’s name in the current locale.

ArticleConnection!

Its articles, newest first by default.

ArgumentTypeMeaning
firstIntNo description.
afterStringNo description.
lastIntNo description.
beforeStringNo description.
sortKeyArticleSortKeys · default "PUBLISHED_AT"No description.
reverseBoolean · default trueNo description.
tagStringOnly articles carrying this tag, matched exactly. One tag, not a list: a blog index filters by one at a time.

SEO!

Crawler-facing metadata, including generated schema.org markup.

URL

The blog index’s canonical URL on the shop’s primary domain.

A blog is a page a buyer lands on, not only a container for articles, and a theme linking to it should not have to compose the URL from handle when every other addressable thing hands one over.

Metafield

One of this blog’s metafields, or null when it is unset or not published to the storefront — the two are deliberately indistinguishable.

ArgumentTypeMeaning
namespaceStringThe owning app, or custom for a merchant’s own. Defaults to custom.
keyString!The metafield’s key within its namespace.

[Metafield]!

Several of this blog’s metafields at once.

The result is positional: one entry per identifier, in the order asked, null where there is nothing to return.

ArgumentTypeMeaning
identifiers[MetafieldIdentifier!]!The metafields to fetch. The result has one entry per identifier.
Object

A page of blogs.

[BlogEdge!]!

Each Blog with its cursor. Use this when you need to page.

[Blog!]!

The Blogs themselves, unwrapped. Use this when you do not.

PageInfo!

Whether there is more, and the cursors to ask with.

Object

One blog, with its cursor.

String!

This position in the current ordering. Pass it as after or before.

Blog!

The Blog at this position.

Enum

What a buyer is agreeing to be contacted on.

ValueMeaning
SMSSMS — the channel that matters here, and the one that reaches everyone.
EMAILNo description.
PUSHA web push subscription.
Input

A buyer opting in.

String

Required for SMS.

String

Required for EMAIL.

[MarketingChannel!]!

Which channels are being consented to. At least one.

String

Where the opt-in happened — footer, popup, product_page.

Free text the merchant sees in their reports. It is also the only evidence of where consent was given, which is worth having when someone disputes it.

String

A customer access token, when the buyer is signed in.

Object

What marketingSubscriptionCreate returns.

Boolean!

Whether the platform recorded the consent.

True for a number that was already subscribed — re-subscribing is not an error, and reporting it as one tells an attacker which numbers are on the list.

MarketingChannel

Whether the buyer must still confirm, and on which channel.

Null when nothing further is needed.

[UserError!]!

Why it was declined.

INVALID for a malformed number, RATE_LIMITED when one address has tried too often.

Object

A navigation menu the merchant arranged — منوی اصلی, منوی فوتر.

Addressed by handle rather than listed, because a theme knows the handles it needs and asking for all of them fetches menus no page will render.

ID!

A globally unique, opaque identifier. Never parse or construct one.

Handle!

The handle the theme asked for — main-menu, footer.

String!

The merchant’s name for it. Rarely rendered; menus are usually unlabelled.

[MenuItem!]!

The top-level items, in the merchant’s order.

Object

One entry in a menu.

Nested to three levels — enough for a mega-menu, and a bound rather than a recursion so the query cost of a menu is knowable in advance.

ID!

A globally unique, opaque identifier. Never parse or construct one.

String!

The label, in the current locale. Merchant data — safe to render.

URL!

Where it goes, resolved against the shop’s primary domain.

Always present, including for an item that points at a resource — so a theme can render an anchor without resolving anything.

MenuItemType!

What kind of thing it points at, for choosing an icon or a treatment.

Node

The object it points at, already resolved.

Null for an external link or a plain heading. Present so a mega-menu can draw a collection’s image without a second query.

[MenuItem!]!

Its children. Empty at the deepest level.

Enum

What a menu item points at.

ValueMeaning
PRODUCTNo description.
COLLECTIONNo description.
CATEGORYNo description.
PAGENo description.
BLOGNo description.
ARTICLENo description.
FRONTPAGEThe storefront’s front page.
SEARCHA search with a preset query.
EXTERNALSomewhere else entirely.
HEADINGA label with no destination, for grouping in a mega-menu.
Object

One instance of a merchant-defined content type.

ID!

A globally unique, opaque identifier. Never parse or construct one.

Handle!

Unique within its type.

String!

The definition’s name: size_chart, branch, faq_entry.

[MetaobjectField!]!

Every field on it.

MetaobjectField

One field by key, or null when it is unset.

ArgumentTypeMeaning
keyString!No description.

SEO

Crawler metadata, when the definition was configured to have a page of its own.

Null for a definition that only ever appears inside something else.

URL

Its canonical URL, when the definition is one the merchant publishes as a page. Null when it is only ever rendered inside something else.

DateTime!

When it last changed.

Object

A page of metaobjects.

[MetaobjectEdge!]!

Each Metaobject with its cursor. Use this when you need to page.

[Metaobject!]!

The Metaobjects themselves, unwrapped. Use this when you do not.

PageInfo!

Whether there is more, and the cursors to ask with.

Object

One metaobject, with its cursor.

String!

This position in the current ordering. Pass it as after or before.

Metaobject!

The Metaobject at this position.

Object

One field of a metaobject. The same shape as a metafield, minus the ownership.

String!

The field’s name within its metaobject definition.

String!

The value’s type, in the same vocabulary as Metafield.type.

String!

The value, as a string, encoded per type.

Node

The object a reference type points at, resolved.

NodeConnection!

The objects a list-reference type points at.

ArgumentTypeMeaning
firstIntNo description.
afterStringNo description.
Input

Names one metaobject.

String!

The definition’s type — size_chart.

Handle!

The object’s handle within that type.

Enum

How a metaobject list is ordered.

ValueMeaning
POSITIONThe order the merchant arranged.
UPDATED_ATNo description.
HANDLENo description.
Object

A standalone page the merchant wrote — درباره ما, تماس با ما.

ID!

A globally unique, opaque identifier. Never parse or construct one.

Handle!

The page’s slug on this storefront.

String!

The page’s title in the current locale.

HTML!

The body, sanitized.

String!

The body with markup removed, trimmed — for cards and search results.

SEO!

Crawler-facing metadata, including generated schema.org markup.

URL

The page’s canonical URL on the shop’s primary domain.

DateTime!

When the merchant created it.

DateTime!

When it last changed.

The value to hold for cache revalidation, and the one a headless storefront keys incremental regeneration on.

DateTime!

When the merchant published it.

Metafield

One of this page’s metafields, or null when it is unset or not published to the storefront — the two are deliberately indistinguishable.

ArgumentTypeMeaning
namespaceStringThe owning app, or custom for a merchant’s own. Defaults to custom.
keyString!The metafield’s key within its namespace.

[Metafield]!

Several of this page’s metafields at once.

The result is positional: one entry per identifier, in the order asked, null where there is nothing to return.

ArgumentTypeMeaning
identifiers[MetafieldIdentifier!]!The metafields to fetch. The result has one entry per identifier.
Object

A page of pages.

[PageEdge!]!

Each Page with its cursor. Use this when you need to page.

[Page!]!

The Pages themselves, unwrapped. Use this when you do not.

PageInfo!

Whether there is more, and the cursors to ask with.

Int!

Total matching results, capped at a bound the platform will not count past.

Object

One page, with its cursor.

String!

This position in the current ordering. Pass it as after or before.

Page!

The Page at this position.

Enum

How a page list is ordered.

ValueMeaning
TITLENo description.
UPDATED_ATNo description.
RELEVANCENo description.
Object

How many reviews sit at one star rating.

Int!

Which star rating this bucket counts — 1 to 5.

Int!

How many reviews sit at that rating.

Object

One buyer’s review.

ID!

A globally unique, opaque identifier. Never parse or construct one.

Int!

One to five.

String

The reviewer’s headline, when they wrote one.

String

The review text.

String

What to call the reviewer.

Whatever they chose to be shown as, which is frequently a first name or nothing at all; null when they asked to be anonymous.

Boolean!

Whether the platform can see an order from this buyer for this product.

Worth surfacing prominently — خرید تأیید‌شده is the strongest trust signal a review carries, in a market where paid reviews are common enough to be assumed.

[Image!]!

Images the reviewer attached.

Int!

How many buyers marked it useful.

ReviewReply

The merchant’s public reply, when they wrote one.

String

Which variant was bought — رنگ: آبی، سایز: XL.

A review of a different size is a different review, and buyers read them that way.

DateTime!

When the buyer left it.

Object

A page of reviews.

[ReviewEdge!]!

Each Review with its cursor. Use this when you need to page.

[Review!]!

The Reviews themselves, unwrapped. Use this when you do not.

PageInfo!

Whether there is more, and the cursors to ask with.

Int!

Total matching results, capped at a bound the platform will not count past.

Object

One review, with its cursor.

String!

This position in the current ordering. Pass it as after or before.

Review!

The Review at this position.

Input

What a buyer submits.

ID!

The product being reviewed.

Int!

One to five.

String

An optional headline for the review.

String

What the buyer wrote. Plain text.

String

What to be shown as. Omit to be anonymous.

String

The reviewer’s mobile number.

How the review is matched to an order to earn verifiedPurchase, and how a merchant reaches a reviewer about a complaint. Never published.

[ID!]

Ids of images uploaded beforehand.

Bytes never travel through this API: upload them first, then name them here.

String

A customer access token, when the buyer is signed in.

Supplying it makes verifiedPurchase reliable and lets the merchant see who wrote what.

Object

A merchant’s public reply to a review.

String!

The merchant’s reply. Plain text; a merchant reply is never HTML.

DateTime!

When they replied.

Enum

How a review list is ordered.

ValueMeaning
CREATED_ATNo description.
RATINGNo description.
HELPFULNo description.
Object

What productReviewSubmit returns.

Review

The review as recorded.

Not yet visible to anyone else: reviews are moderated, and this one is pending. Say so — a buyer who does not see their review appear assumes it was lost and writes it again.

[UserError!]!

Why it was declined.

RATE_LIMITED when this number has reviewed too often, NOT_APPLICABLE when the shop does not accept reviews on that product, FORBIDDEN when reviews are restricted to verified buyers and this one is not.

Object

What buyers have said about a product, in aggregate.

Float

Mean rating, one to five. Null when nothing has been rated.

Int!

How many published reviews there are.

[RatingBucket!]!

How many reviews sit at each star, five down to one.

Always five entries, including zeroes — so a histogram renders without the client filling gaps.

Object

A URL the merchant has redirected.

The reason this is in a storefront API: shops arrive on Kaladan from WooCommerce and from Instagram link-in-bio pages, carrying years of indexed URLs. A headless storefront that does its own routing must be able to ask whether a 404 is really a 301, or the migration costs the merchant its search ranking — which for an Iranian shop means its Torob placement.

ID!

A globally unique, opaque identifier. Never parse or construct one.

String!

The path being redirected from, including its leading slash.

String!

Where it goes — a path on this shop, or an absolute URL.

Boolean!

true for a 301, false for a 302.