Skip to main content

Fetch a specific Blog by one of its unique attributes.

•String

The handle of the Blog.

•ID

The ID of the Blog.


Was this section helpful?

•Blog

An online store blog.

•Article

Find an article by its handle.

Arguments

•String!
required

The handle of the article.


•ArticleConnection!
non-null

List of the blog'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
•

•[ArticleAuthor!]!
non-null

The authors who have contributed to the blog.

•String!
non-null

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

•ID!
non-null

A globally-unique ID.

•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.

•SEO

The blog's SEO information.

•String!
non-null

The blogs’s title.


Was this section helpful?