Skip to main content
object

Requires read_content access scope or read_online_store_pages access scope.

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.

Anchor to Fields and connectionsFields and connections

•ArticleConnection!non-null

List of the blog's articles.

•Count

Count of articles.

•CommentPolicy!non-null

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

•DateTime!non-null

The date and time when the blog was created.

•EventConnection!non-null

The paginated list of events associated with the host subject.

•BlogFeed

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

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

•MetafieldConnection!non-null

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

Anchor to metafieldsByIdentifiersmetafieldsByIdentifiers
•[Metafield]!non-null

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

•[String!]!non-null

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

•String

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.

•String!non-null

The title of the blog.

•[Translation!]!non-null

The published translations associated with the resource.

•DateTime

The date and time when the blog was update.

Anchor to metafieldDefinitionsmetafieldDefinitions
•MetafieldDefinitionConnection!non-nullDeprecated

Was this section helpful?

•query

Returns a Blog resource by ID.

•query

List of the shop's blogs.


Was this section helpful?

•mutation

Creates a blog.

Arguments

•BlogCreateInput!required

The properties of the new blog.


Fields

•Blog

The blog that was created.

•[BlogCreateUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates a blog.

Arguments

•BlogUpdateInput!required

The properties of the blog to be updated.

•ID!required

The ID of the blog to be updated.


Fields

•Blog

The blog that was updated.

•[BlogUpdateUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

OSZAR »