Content
Article
Section titled “Article”A blog post.
ID!
A globally unique, opaque identifier. Never parse or construct one.
handle
Section titled “handle”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.
contentHtml
Section titled “contentHtml”HTML!
The body, sanitized.
content
Section titled “content”String!
The body with markup removed.
excerpt
Section titled “excerpt”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.
author
Section titled “author”ArticleAuthor
Who wrote it.
[String!]!
Merchant-applied tags.
Blog!
The blog it belongs to.
SEO!
Crawler-facing metadata, including generated schema.org markup.
onlineStoreUrl
Section titled “onlineStoreUrl”URL
The article’s canonical URL on the shop’s primary domain.
publishedAt
Section titled “publishedAt”DateTime!
When the merchant published it. What a blog index sorts on.
updatedAt
Section titled “updatedAt”DateTime!
When it last changed.
The value to hold for cache revalidation, and the one a headless storefront keys incremental regeneration on.
metafield
Section titled “metafield”Metafield
One of this article’s metafields, or null when it is unset or not published to the storefront — the two are deliberately indistinguishable.
| Argument | Type | Meaning |
|---|---|---|
namespace | String | The owning app, or custom for a merchant’s own. Defaults to custom. |
key | String! | The metafield’s key within its namespace. |
metafields
Section titled “metafields”[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.
| Argument | Type | Meaning |
|---|---|---|
identifiers | [MetafieldIdentifier!]! | The metafields to fetch. The result has one entry per identifier. |
ArticleAuthor
Section titled “ArticleAuthor”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.
avatar
Section titled “avatar”Image
Their portrait.
ArticleConnection
Section titled “ArticleConnection”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
Section titled “pageInfo”PageInfo!
Whether there is more, and the cursors to ask with.
totalCount
Section titled “totalCount”Int!
Total matching results, capped at a bound the platform will not count past.
ArticleEdge
Section titled “ArticleEdge”One article, with its cursor.
cursor
Section titled “cursor”String!
This position in the current ordering. Pass it as after or before.
Article!
The Article at this position.
ArticleHandleInput
Section titled “ArticleHandleInput”Names one article — a handle is only unique within its blog.
blogHandle
Section titled “blogHandle”Handle!
The blog’s handle.
articleHandle
Section titled “articleHandle”Handle!
The article’s handle within that blog.
ArticleSortKeys
Section titled “ArticleSortKeys”How an article list is ordered.
| Value | Meaning |
|---|---|
PUBLISHED_AT | No description. |
UPDATED_AT | No description. |
TITLE | No description. |
RELEVANCE | No description. |
A collection of articles — وبلاگ.
ID!
A globally unique, opaque identifier. Never parse or construct one.
handle
Section titled “handle”Handle!
The blog’s slug on this storefront.
String!
The blog’s name in the current locale.
articles
Section titled “articles”ArticleConnection!
Its articles, newest first by default.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
last | Int | No description. |
before | String | No description. |
sortKey | ArticleSortKeys · default "PUBLISHED_AT" | No description. |
reverse | Boolean · default true | No description. |
tag | String | Only 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.
onlineStoreUrl
Section titled “onlineStoreUrl”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
Section titled “metafield”Metafield
One of this blog’s metafields, or null when it is unset or not published to the storefront — the two are deliberately indistinguishable.
| Argument | Type | Meaning |
|---|---|---|
namespace | String | The owning app, or custom for a merchant’s own. Defaults to custom. |
key | String! | The metafield’s key within its namespace. |
metafields
Section titled “metafields”[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.
| Argument | Type | Meaning |
|---|---|---|
identifiers | [MetafieldIdentifier!]! | The metafields to fetch. The result has one entry per identifier. |
BlogConnection
Section titled “BlogConnection”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
Section titled “pageInfo”PageInfo!
Whether there is more, and the cursors to ask with.
BlogEdge
Section titled “BlogEdge”One blog, with its cursor.
cursor
Section titled “cursor”String!
This position in the current ordering. Pass it as after or before.
Blog!
The Blog at this position.
MarketingChannel
Section titled “MarketingChannel”What a buyer is agreeing to be contacted on.
| Value | Meaning |
|---|---|
SMS | SMS — the channel that matters here, and the one that reaches everyone. |
EMAIL | No description. |
PUSH | A web push subscription. |
MarketingSubscriptionInput
Section titled “MarketingSubscriptionInput”A buyer opting in.
String
Required for SMS.
String
Required for EMAIL.
channels
Section titled “channels”[MarketingChannel!]!
Which channels are being consented to. At least one.
source
Section titled “source”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.
customerAccessToken
Section titled “customerAccessToken”String
A customer access token, when the buyer is signed in.
MarketingSubscriptionPayload
Section titled “MarketingSubscriptionPayload”What marketingSubscriptionCreate returns.
accepted
Section titled “accepted”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.
confirmationRequired
Section titled “confirmationRequired”MarketingChannel
Whether the buyer must still confirm, and on which channel.
Null when nothing further is needed.
userErrors
Section titled “userErrors”[UserError!]!
Why it was declined.
INVALID for a malformed number, RATE_LIMITED when one address has tried
too often.
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
Section titled “handle”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.
MenuItem
Section titled “MenuItem”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.
resource
Section titled “resource”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.
MenuItemType
Section titled “MenuItemType”What a menu item points at.
| Value | Meaning |
|---|---|
PRODUCT | No description. |
COLLECTION | No description. |
CATEGORY | No description. |
PAGE | No description. |
BLOG | No description. |
ARTICLE | No description. |
FRONTPAGE | The storefront’s front page. |
SEARCH | A search with a preset query. |
EXTERNAL | Somewhere else entirely. |
HEADING | A label with no destination, for grouping in a mega-menu. |
Metaobject
Section titled “Metaobject”One instance of a merchant-defined content type.
ID!
A globally unique, opaque identifier. Never parse or construct one.
handle
Section titled “handle”Handle!
Unique within its type.
String!
The definition’s name: size_chart, branch, faq_entry.
fields
Section titled “fields”[MetaobjectField!]!
Every field on it.
MetaobjectField
One field by key, or null when it is unset.
| Argument | Type | Meaning |
|---|---|---|
key | String! | 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.
onlineStoreUrl
Section titled “onlineStoreUrl”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.
updatedAt
Section titled “updatedAt”DateTime!
When it last changed.
MetaobjectConnection
Section titled “MetaobjectConnection”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
Section titled “pageInfo”PageInfo!
Whether there is more, and the cursors to ask with.
MetaobjectEdge
Section titled “MetaobjectEdge”One metaobject, with its cursor.
cursor
Section titled “cursor”String!
This position in the current ordering. Pass it as after or before.
Metaobject!
The Metaobject at this position.
MetaobjectField
Section titled “MetaobjectField”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.
reference
Section titled “reference”Node
The object a reference type points at, resolved.
references
Section titled “references”NodeConnection!
The objects a list-reference type points at.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
MetaobjectHandleInput
Section titled “MetaobjectHandleInput”Names one metaobject.
String!
The definition’s type — size_chart.
handle
Section titled “handle”Handle!
The object’s handle within that type.
MetaobjectSortKeys
Section titled “MetaobjectSortKeys”How a metaobject list is ordered.
| Value | Meaning |
|---|---|
POSITION | The order the merchant arranged. |
UPDATED_AT | No description. |
HANDLE | No description. |
A standalone page the merchant wrote — درباره ما, تماس با ما.
ID!
A globally unique, opaque identifier. Never parse or construct one.
handle
Section titled “handle”Handle!
The page’s slug on this storefront.
String!
The page’s title in the current locale.
contentHtml
Section titled “contentHtml”HTML!
The body, sanitized.
excerpt
Section titled “excerpt”String!
The body with markup removed, trimmed — for cards and search results.
SEO!
Crawler-facing metadata, including generated schema.org markup.
onlineStoreUrl
Section titled “onlineStoreUrl”URL
The page’s canonical URL on the shop’s primary domain.
createdAt
Section titled “createdAt”DateTime!
When the merchant created it.
updatedAt
Section titled “updatedAt”DateTime!
When it last changed.
The value to hold for cache revalidation, and the one a headless storefront keys incremental regeneration on.
publishedAt
Section titled “publishedAt”DateTime!
When the merchant published it.
metafield
Section titled “metafield”Metafield
One of this page’s metafields, or null when it is unset or not published to the storefront — the two are deliberately indistinguishable.
| Argument | Type | Meaning |
|---|---|---|
namespace | String | The owning app, or custom for a merchant’s own. Defaults to custom. |
key | String! | The metafield’s key within its namespace. |
metafields
Section titled “metafields”[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.
| Argument | Type | Meaning |
|---|---|---|
identifiers | [MetafieldIdentifier!]! | The metafields to fetch. The result has one entry per identifier. |
PageConnection
Section titled “PageConnection”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
Section titled “pageInfo”PageInfo!
Whether there is more, and the cursors to ask with.
totalCount
Section titled “totalCount”Int!
Total matching results, capped at a bound the platform will not count past.
PageEdge
Section titled “PageEdge”One page, with its cursor.
cursor
Section titled “cursor”String!
This position in the current ordering. Pass it as after or before.
Page!
The Page at this position.
PageSortKeys
Section titled “PageSortKeys”How a page list is ordered.
| Value | Meaning |
|---|---|
TITLE | No description. |
UPDATED_AT | No description. |
RELEVANCE | No description. |
RatingBucket
Section titled “RatingBucket”How many reviews sit at one star rating.
rating
Section titled “rating”Int!
Which star rating this bucket counts — 1 to 5.
Int!
How many reviews sit at that rating.
Review
Section titled “Review”One buyer’s review.
ID!
A globally unique, opaque identifier. Never parse or construct one.
rating
Section titled “rating”Int!
One to five.
String
The reviewer’s headline, when they wrote one.
String
The review text.
authorName
Section titled “authorName”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.
verifiedPurchase
Section titled “verifiedPurchase”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.
helpfulCount
Section titled “helpfulCount”Int!
How many buyers marked it useful.
ReviewReply
The merchant’s public reply, when they wrote one.
purchasedVariantTitle
Section titled “purchasedVariantTitle”String
Which variant was bought — رنگ: آبی، سایز: XL.
A review of a different size is a different review, and buyers read them that way.
createdAt
Section titled “createdAt”DateTime!
When the buyer left it.
ReviewConnection
Section titled “ReviewConnection”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
Section titled “pageInfo”PageInfo!
Whether there is more, and the cursors to ask with.
totalCount
Section titled “totalCount”Int!
Total matching results, capped at a bound the platform will not count past.
ReviewEdge
Section titled “ReviewEdge”One review, with its cursor.
cursor
Section titled “cursor”String!
This position in the current ordering. Pass it as after or before.
Review!
The Review at this position.
ReviewInput
Section titled “ReviewInput”What a buyer submits.
productId
Section titled “productId”ID!
The product being reviewed.
rating
Section titled “rating”Int!
One to five.
String
An optional headline for the review.
String
What the buyer wrote. Plain text.
authorName
Section titled “authorName”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.
imageIds
Section titled “imageIds”[ID!]
Ids of images uploaded beforehand.
Bytes never travel through this API: upload them first, then name them here.
customerAccessToken
Section titled “customerAccessToken”String
A customer access token, when the buyer is signed in.
Supplying it makes verifiedPurchase reliable and lets the merchant see who
wrote what.
ReviewReply
Section titled “ReviewReply”A merchant’s public reply to a review.
String!
The merchant’s reply. Plain text; a merchant reply is never HTML.
repliedAt
Section titled “repliedAt”DateTime!
When they replied.
ReviewSortKeys
Section titled “ReviewSortKeys”How a review list is ordered.
| Value | Meaning |
|---|---|
CREATED_AT | No description. |
RATING | No description. |
HELPFUL | No description. |
ReviewSubmitPayload
Section titled “ReviewSubmitPayload”What productReviewSubmit returns.
review
Section titled “review”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.
userErrors
Section titled “userErrors”[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.
ReviewSummary
Section titled “ReviewSummary”What buyers have said about a product, in aggregate.
averageRating
Section titled “averageRating”Float
Mean rating, one to five. Null when nothing has been rated.
Int!
How many published reviews there are.
distribution
Section titled “distribution”[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.
UrlRedirect
Section titled “UrlRedirect”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.
target
Section titled “target”String!
Where it goes — a path on this shop, or an absolute URL.
permanent
Section titled “permanent”Boolean!
true for a 301, false for a 302.