Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

query

Returns a Blog resource by ID.

•
ID!required

The ID of the Blog to return.


Was this section helpful?

•

Shopify stores come with a built-in blogging engine, allowing a shop to have one or more blogs. Blogs are meant to be used as a type of magazine or newsletter for the shop, with content that changes over time.

articles•
non-null

List of the blog's articles.

articlesCount•

Count of articles.

commentPolicy•
non-null

Indicates whether readers can post comments to the blog and if comments are moderated or not.

createdAt•
non-null

The date and time when the blog was created.

events•
non-null

The paginated list of events associated with the host subject.

feed•

FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service.

handle•
non-null

A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title. The handle is customizable and is used by the Liquid templating language to refer to the blog.

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.

metafields•
non-null

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

metafieldsByIdentifiers•
non-null

The metafields associated with the resource matching the supplied list of namespaces and keys.

tags•
non-null

A list of tags associated with the 200 most recent blog articles.

templateSuffix•

The name of the template a blog is using if it's using an alternate template. Returns null if a blog is using the default blog.liquid template.

title•
non-null

The title of the blog.

translations•
non-null

The published translations associated with the resource.

updatedAt•

The date and time when the blog was update.

metafieldDefinitions•
non-nullDeprecated

List of metafield definitions. This field will be removed in a future version. Use the root metafieldDefinitions field instead.


Was this section helpful?