Skip to main content
connection

An auto-generated type for paginating through multiple Articles.

Anchor to Fields with this connectionFields with this connection

•OBJECT

A blog container for Article objects. Stores can have multiple blogs, for example to organize content by topic or purpose.

Each blog provides access to its articles, contributing ArticleAuthor objects, and SEO information. You can retrieve articles individually by handle or as a paginated list.


Was this section helpful?

Anchor to Queries with this connectionQueries with this connection

•query

Returns a paginated list of Article objects from the shop's Blog objects. Each article is a blog post containing content, author information, tags, and optional images.

Use the query argument to filter results by author, blog title, tags, or date fields. Sort results using the sortKey argument and reverse them with the reverse argument.

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?

•[ArticleEdge!]!
non-null

A list of edges.

•[Article!]!
non-null

A list of the nodes contained in ArticleEdge.

•PageInfo!
non-null

Information to aid in pagination.


Was this section helpful?