Content
Article
Section titled “Article”A blog post.
ID!
No description.
version
Section titled “version”Version!
No description.
Blog!
No description.
handle
Section titled “handle”Handle!
Unique within its blog, not across the shop.
String!
No description.
contentHtml
Section titled “contentHtml”HTML
No description.
excerpt
Section titled “excerpt”String
The merchant’s summary. Falls back to a trimmed opening on the storefront.
Image
No description.
authorName
Section titled “authorName”String
No description.
[String!]!
No description.
status
Section titled “status”ContentStatus!
No description.
publications
Section titled “publications”[Publication!]!
No description.
SEO!
No description.
publishedAt
Section titled “publishedAt”DateTime
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
updatedAt
Section titled “updatedAt”DateTime!
No description.
metafield
Section titled “metafield”Metafield
No description.
| Argument | Type | Meaning |
|---|---|---|
namespace | String | No description. |
key | String! | No description. |
metafields
Section titled “metafields”[Metafield]!
No description.
| Argument | Type | Meaning |
|---|---|---|
identifiers | [MetafieldIdentifier!]! | No description. |
ArticleConnection
Section titled “ArticleConnection”A page of articles.
[ArticleEdge!]!
No description.
[Article!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”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.
ArticleEdge
Section titled “ArticleEdge”One article, with its cursor.
cursor
Section titled “cursor”String!
No description.
Article!
No description.
ArticleInput
Section titled “ArticleInput”An article to create or change. Partial on update.
blogId
Section titled “blogId”ID
No description.
String
No description.
handle
Section titled “handle”Handle
No description.
contentHtml
Section titled “contentHtml”HTML
No description.
excerpt
Section titled “excerpt”String
No description.
imageId
Section titled “imageId”ID
No description.
authorName
Section titled “authorName”String
No description.
[String!]
No description.
status
Section titled “status”ContentStatus
No description.
publishedAt
Section titled “publishedAt”DateTime
No description.
SEOInput
No description.
metafields
Section titled “metafields”[MetafieldInput!]
No description.
ArticlePayload
Section titled “ArticlePayload”What the article mutations return.
article
Section titled “article”Article
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
ObjectA collection of articles — وبلاگ.
ID!
No description.
version
Section titled “version”Version!
No description.
handle
Section titled “handle”Handle!
No description.
String!
No description.
articles
Section titled “articles”ArticleConnection!
No description.
| Argument | Type | Meaning |
|---|---|---|
first | Int | No description. |
after | String | No description. |
status | [ContentStatus!] | No description. |
articleCount
Section titled “articleCount”Int!
No description.
commentsEnabled
Section titled “commentsEnabled”Boolean!
Whether buyers may comment. Off by default; comment spam is relentless.
SEO!
No description.
metafield
Section titled “metafield”Metafield
No description.
| Argument | Type | Meaning |
|---|---|---|
namespace | String | No description. |
key | String! | No description. |
metafields
Section titled “metafields”[Metafield]!
No description.
| Argument | Type | Meaning |
|---|---|---|
identifiers | [MetafieldIdentifier!]! | No description. |
BlogInput
Section titled “BlogInput”A blog to create or change. Partial on update.
String
No description.
handle
Section titled “handle”Handle
No description.
commentsEnabled
Section titled “commentsEnabled”Boolean
No description.
SEOInput
No description.
metafields
Section titled “metafields”[MetafieldInput!]
No description.
BlogPayload
Section titled “BlogPayload”What the blog mutations return.
Blog
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
ContentFilter
Section titled “ContentFilter”A filter on a content list.
status
Section titled “status”[ContentStatus!]
No description.
String
No description.
updatedAfter
Section titled “updatedAfter”DateTime
No description.
policy
Section titled “policy”Boolean
Pages: true lists only the shop’s policies, false only its ordinary
pages — what a list of pages beside a list of policies asks. Absent lists
both. No article is a policy: true lists no articles.
policyKind
Section titled “policyKind”PolicyKind
Pages: only the page of this kind, of which a shop has at most one. With
policy: false it is a contradiction and refused. No article is a policy, so
it lists no articles.
ContentStatus
Section titled “ContentStatus”Whether a piece of content is public.
| Value | Meaning |
|---|---|
DRAFT | No description. |
PUBLISHED | No description. |
SCHEDULED | Published with a future date. Goes live on its own. |
ARCHIVED | Withdrawn but kept, so its URL can be redirected rather than 404ing. |
A navigation menu the merchant arranged.
ID!
No description.
version
Section titled “version”Version!
No description.
handle
Section titled “handle”Handle!
main-menu, footer. A theme asks for these by name.
String!
No description.
[MenuItem!]!
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
updatedAt
Section titled “updatedAt”DateTime!
No description.
MenuInput
Section titled “MenuInput”A menu, replaced whole. Trees do not merge.
handle
Section titled “handle”Handle!
No description.
String!
No description.
[MenuItemInput!]!
No description.
MenuItem
Section titled “MenuItem”One entry in a menu. Nested to three levels — enough for a mega-menu.
ID!
No description.
String!
No description.
MenuItemType!
No description.
URL
Where it points. Resolved against the shop’s primary domain on the storefront.
resourceId
Section titled “resourceId”ID
The object it points at, for a resource item.
[MenuItem!]!
No description.
MenuItemInput
Section titled “MenuItemInput”One menu entry.
String!
No description.
MenuItemType!
No description.
URL
Required for EXTERNAL, and for SEARCH with a preset query.
resourceId
Section titled “resourceId”ID
Required for a resource type.
[MenuItemInput!]
No description.
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 | No description. |
SEARCH | No description. |
EXTERNAL | No description. |
HEADING | A label with no destination, for grouping in a mega-menu. |
MenuPayload
Section titled “MenuPayload”What the menu mutations return.
Menu
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
Metaobject
Section titled “Metaobject”One instance of a merchant-defined content type.
ID!
No description.
version
Section titled “version”Version!
No description.
definition
Section titled “definition”MetaobjectDefinition!
No description.
handle
Section titled “handle”Handle!
No description.
position
Section titled “position”Int
Where the merchant put it in the list, for definitions that are ordered.
fields
Section titled “fields”[MetaobjectFieldValue!]!
No description.
status
Section titled “status”ContentStatus!
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
updatedAt
Section titled “updatedAt”DateTime!
No description.
MetaobjectConnection
Section titled “MetaobjectConnection”A page of metaobjects.
[MetaobjectEdge!]!
No description.
[Metaobject!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”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.
MetaobjectDefinition
Section titled “MetaobjectDefinition”The shape of a merchant-defined content type.
ID!
No description.
version
Section titled “version”Version!
No description.
String!
size_chart, branch, faq_entry. Fixed once created.
String!
No description.
description
Section titled “description”String
No description.
fieldDefinitions
Section titled “fieldDefinitions”[MetaobjectFieldDefinition!]!
No description.
storefrontVisible
Section titled “storefrontVisible”Boolean!
Whether the storefront APIs may read instances of this definition.
False by default, like every other piece of custom data. Turning it on publishes every instance already created.
hasOwnPage
Section titled “hasOwnPage”Boolean!
Whether instances get a page of their own on the storefront.
instanceCount
Section titled “instanceCount”Int!
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
MetaobjectDefinitionInput
Section titled “MetaobjectDefinitionInput”A metaobject definition to create.
String
No description.
String!
No description.
description
Section titled “description”String
No description.
fieldDefinitions
Section titled “fieldDefinitions”[MetaobjectFieldDefinitionInput!]!
No description.
storefrontVisible
Section titled “storefrontVisible”Boolean
No description.
hasOwnPage
Section titled “hasOwnPage”Boolean
No description.
MetaobjectDefinitionPayload
Section titled “MetaobjectDefinitionPayload”What the metaobject-definition mutations return.
definition
Section titled “definition”MetaobjectDefinition
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
MetaobjectEdge
Section titled “MetaobjectEdge”One metaobject, with its cursor.
cursor
Section titled “cursor”String!
No description.
Metaobject!
No description.
MetaobjectFieldDefinition
Section titled “MetaobjectFieldDefinition”One field on a metaobject definition.
String!
No description.
String!
No description.
String!
Same type vocabulary as a metafield: single_line_text_field, file_reference.
required
Section titled “required”Boolean!
No description.
validations
Section titled “validations”JSON
No description.
MetaobjectFieldDefinitionInput
Section titled “MetaobjectFieldDefinitionInput”One field on a definition.
String!
No description.
String!
No description.
String!
No description.
required
Section titled “required”Boolean
No description.
validations
Section titled “validations”JSON
No description.
MetaobjectFieldValue
Section titled “MetaobjectFieldValue”One field’s value on a metaobject.
String!
No description.
String!
No description.
String
Always a string, encoded per type.
reference
Section titled “reference”Node
The object a reference type points at, resolved.
MetaobjectFieldValueInput
Section titled “MetaobjectFieldValueInput”One field’s value.
String!
No description.
String
Null clears it.
MetaobjectInput
Section titled “MetaobjectInput”A metaobject to create or change.
handle
Section titled “handle”Handle
No description.
position
Section titled “position”Int
No description.
status
Section titled “status”ContentStatus
No description.
fields
Section titled “fields”[MetaobjectFieldValueInput!]
No description.
MetaobjectPayload
Section titled “MetaobjectPayload”What the metaobject mutations return.
metaobject
Section titled “metaobject”Metaobject
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
ObjectA standalone page — درباره ما, تماس با ما, قوانین.
ID!
No description.
version
Section titled “version”Version!
No description.
handle
Section titled “handle”Handle!
No description.
String!
No description.
contentHtml
Section titled “contentHtml”HTML
No description.
status
Section titled “status”ContentStatus!
No description.
policyKind
Section titled “policyKind”PolicyKind
Which of the shop’s policies this page is; null for an ordinary page. Set when
the page is created and never changed. A published policy is what the
storefront lists as Shop.policies, and the setup checklist’s
PUBLISH_POLICIES is done once all four kinds are published.
publications
Section titled “publications”[Publication!]!
No description.
SEO!
No description.
updatedBy
Section titled “updatedBy”StaffMember
The staff member who last touched it, for a shop where several write.
createdAt
Section titled “createdAt”DateTime!
No description.
updatedAt
Section titled “updatedAt”DateTime!
No description.
publishedAt
Section titled “publishedAt”DateTime
No description.
metafield
Section titled “metafield”Metafield
No description.
| Argument | Type | Meaning |
|---|---|---|
namespace | String | No description. |
key | String! | No description. |
metafields
Section titled “metafields”[Metafield]!
No description.
| Argument | Type | Meaning |
|---|---|---|
identifiers | [MetafieldIdentifier!]! | No description. |
PageConnection
Section titled “PageConnection”A page of pages.
[PageEdge!]!
No description.
[Page!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”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.
PageEdge
Section titled “PageEdge”One page, with its cursor.
cursor
Section titled “cursor”String!
No description.
Page!
No description.
PageInput
Section titled “PageInput”A page to create or replace. Partial on update.
String
Required for an ordinary page. A policy created without one takes its kind’s name.
handle
Section titled “handle”Handle
No description.
contentHtml
Section titled “contentHtml”HTML
No description.
status
Section titled “status”ContentStatus
No description.
publishedAt
Section titled “publishedAt”DateTime
No description.
policyKind
Section titled “policyKind”PolicyKind
Makes the page one of the shop’s policies, on a create. See pageCreate: a
title, body or handle left out is the kind’s draft. On an update it may only
repeat the page’s own kind.
SEOInput
No description.
metafields
Section titled “metafields”[MetafieldInput!]
No description.
publishToChannelIds
Section titled “publishToChannelIds”[ID!]
No description.
PagePayload
Section titled “PagePayload”What the page mutations return.
Page
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
PolicyKind
Section titled “PolicyKind”Which of a shop’s policies a page is. The names are the Storefront’s
ShopPolicyKind’s.
A policy is a page with three rules of its own: at most one page of each kind per shop, the kind set at create and never changed, and never scheduled — a policy is in force now or a draft.
| Value | Meaning |
|---|---|
RETURN | Returns and the statutory withdrawal window — شرایط مرجوعی. |
SHIPPING | Shipping and delivery — شیوه ارسال. |
PRIVACY | Privacy — حریم خصوصی. |
TERMS | Terms of use — قوانین و مقررات. |
Review
Section titled “Review”One buyer’s review, as the merchant sees it.
ID!
No description.
version
Section titled “version”Version!
No description.
product
Section titled “product”Product!
No description.
rating
Section titled “rating”Int!
No description.
String
No description.
String
No description.
authorName
Section titled “authorName”String
What the reviewer chose to be shown as.
authorPhone
Section titled “authorPhone”String
The reviewer’s mobile number. Never published.
How the review is matched to an order, and how a merchant reaches somebody about a complaint worth resolving privately.
customer
Section titled “customer”Customer
No description.
verifiedPurchase
Section titled “verifiedPurchase”Boolean!
Whether the platform can see an order from this buyer for this product.
purchasedVariantTitle
Section titled “purchasedVariantTitle”String
Which variant was bought. A review of a different size is a different review.
[Image!]!
No description.
status
Section titled “status”ReviewStatus!
No description.
rejectionReason
Section titled “rejectionReason”ReviewRejectionReason
Why it was refused. Not shown to the reviewer verbatim.
ReviewReply
The merchant’s public reply.
helpfulCount
Section titled “helpfulCount”Int!
No description.
moderatedBy
Section titled “moderatedBy”StaffMember
No description.
moderatedAt
Section titled “moderatedAt”DateTime
No description.
createdAt
Section titled “createdAt”DateTime!
No description.
ReviewConnection
Section titled “ReviewConnection”A page of reviews.
[ReviewEdge!]!
No description.
[Review!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”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.
ReviewEdge
Section titled “ReviewEdge”One review, with its cursor.
cursor
Section titled “cursor”String!
No description.
Review!
No description.
ReviewFilter
Section titled “ReviewFilter”A filter on the review queue.
status
Section titled “status”[ReviewStatus!]
No description.
productId
Section titled “productId”ID
No description.
rating
Section titled “rating”[Int!]
No description.
verifiedOnly
Section titled “verifiedOnly”Boolean
No description.
hasMedia
Section titled “hasMedia”Boolean
Reviews with images, which are the ones worth reading first.
createdAfter
Section titled “createdAfter”DateTime
No description.
ReviewModerationInput
Section titled “ReviewModerationInput”How a review was moderated.
reason
Section titled “reason”ReviewRejectionReason
Required on a rejection.
String
The merchant’s internal note. Not shown to the reviewer.
ReviewPayload
Section titled “ReviewPayload”What the review mutations return.
review
Section titled “review”Review
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.
ReviewRejectionReason
Section titled “ReviewRejectionReason”Why a review was refused.
| Value | Meaning |
|---|---|
INAPPROPRIATE | Abusive, or otherwise unpublishable. |
SPAM | No description. |
OFF_TOPIC | About delivery or service rather than the product. |
PERSONAL_INFORMATION | Contains a phone number, an address, or somebody else’s details. |
SUSPECTED_FAKE | Judged to be a paid or incentivized review. |
PROMOTIONAL | Names a competitor, or advertises something. |
OTHER | No description. |
ReviewReply
Section titled “ReviewReply”The merchant’s public reply to a review.
String!
No description.
repliedBy
Section titled “repliedBy”StaffMember
No description.
repliedAt
Section titled “repliedAt”DateTime!
No description.
ReviewStatus
Section titled “ReviewStatus”Where a review stands.
| Value | Meaning |
|---|---|
PENDING | Awaiting moderation. Invisible on the storefront. |
PUBLISHED | No description. |
REJECTED | No description. |
UNPUBLISHED | Published, then withdrawn. Distinct from REJECTED so a merchant can see that something was live and is not any more, which is what a buyer asking “where did my review go” is owed. |
UrlRedirect
Section titled “UrlRedirect”A URL the merchant has redirected.
Worth more here than it looks: shops arrive from WooCommerce and from years of indexed URLs, and losing them costs the merchant its Torob placement. Bulk import exists for exactly that migration.
ID!
No description.
String!
The path being redirected from, with 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.
hitCount
Section titled “hitCount”Int!
How many times it has been followed in the last month.
What tells a merchant which of a thousand imported redirects actually matter, and which were noise from a migration nobody needed.
createdAt
Section titled “createdAt”DateTime!
No description.
UrlRedirectConnection
Section titled “UrlRedirectConnection”A page of redirects.
[UrlRedirectEdge!]!
No description.
[UrlRedirect!]!
No description.
pageInfo
Section titled “pageInfo”PageInfo!
No description.
totalCount
Section titled “totalCount”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.
UrlRedirectEdge
Section titled “UrlRedirectEdge”One redirect, with its cursor.
cursor
Section titled “cursor”String!
No description.
UrlRedirect!
No description.
UrlRedirectInput
Section titled “UrlRedirectInput”A redirect to create.
String!
No description.
target
Section titled “target”String!
No description.
permanent
Section titled “permanent”Boolean
No description.
UrlRedirectPayload
Section titled “UrlRedirectPayload”What the redirect mutations return.
redirects
Section titled “redirects”[UrlRedirect!]!
No description.
userErrors
Section titled “userErrors”[UserError!]!
No description.