Skip to main content
object

Requires unauthenticated_read_content access scope.

An article in an online store blog.

•ArticleAuthor

The article's author.

•Blog!
non-null

The blog that the article belongs to.

•CommentConnection!
non-null

List of comments posted on the article.

Arguments

•Int

Returns up to the first n elements from the list.

•String

Returns the elements that come after the specified cursor.

•Int

Returns up to the last n elements from the list.

•String

Returns the elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•String!
non-null

Stripped content of the article, single line with HTML tags removed.

Arguments

•Int

Truncates a string after the given length.


•HTML!
non-null

The content of the article, complete with HTML formatting.

•String

Stripped excerpt of the article, single line with HTML tags removed.

Arguments

•Int

Truncates a string after the given length.


•HTML

The excerpt of the article, complete with HTML formatting.

•String!
non-null

A human-friendly unique string for the Article automatically generated from its title.

•ID!
non-null

A globally-unique ID.

•Image

The image associated with the article.

•Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

Arguments

•String

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.

•String!
required

The identifier for the metafield.


•[Metafield]!
non-null

A list of custom fields that a merchant associates with a Shopify resource.

Arguments

•[HasMetafieldsIdentifier!]!
required

The list of metafields to retrieve by namespace and key.

The input must not contain more than 250 values.


•URL

The URL used for viewing the resource on the shop's Online Store. Returns null if the resource is currently not published to the Online Store sales channel.

•DateTime!
non-null

The date and time when the article was published.

•SEO

The article’s SEO information.

•[String!]!
non-null

A categorization that a article can be tagged with.

•String!
non-null

The article’s name.

•String

URL parameters to be added to a page URL to track the origin of on-site search traffic for analytics reporting. Returns a result when accessed through the search or predictiveSearch queries, otherwise returns null.

•ArticleAuthor!
non-nullDeprecated

Was this section helpful?

Anchor to articlearticle
•query

Fetch a specific Article by its ID.

Arguments

•ID!
required

The ID of the Article.


•query

List of the shop's articles.

Arguments

•Int

Returns up to the first n elements from the list.

•String

Returns the elements that come after the specified cursor.

•Int

Returns up to the last n elements from the list.

•String

Returns the elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•ArticleSortKeys
Default:ID

Sort the underlying list by the given key.

•String

Apply one or multiple filters to the query. Refer to the detailed search syntax for more information about using filters.

•
Anchor to blog_title
•
Anchor to created_at
•
•
Anchor to tag_not
•
Anchor to updated_at
•


Was this section helpful?


Was this section helpful?