Blog
Requires access scope or
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
- Anchor to articlesarticles•Article
Connection!non-null List of the blog's articles.
- Anchor to articlesCountarticles•Count
Count Count of articles.
- Anchor to commentPolicycomment•Comment
Policy Policy!non-null Indicates whether readers can post comments to the blog and if comments are moderated or not.
- Anchor to createdAtcreated•Date
At Time!non-null The date and time when the blog was created.
- Anchor to eventsevents•Event
Connection!non-null The paginated list of events associated with the host subject.
- Anchor to feedfeed•Blog
Feed FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service.
- Anchor to handlehandle•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.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection!non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to metafieldsByIdentifiersmetafields•[Metafield]!non-null
By Identifiers 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.
- Anchor to templateSuffixtemplate•String
Suffix 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.- Anchor to titletitle•String!non-null
The title of the blog.
- Anchor to translationstranslations•[Translation!]!non-null
The published translations associated with the resource.
- Anchor to updatedAtupdated•Date
At Time The date and time when the blog was update.
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection!non-nullDeprecated
Anchor to QueriesQueries
- •query
Returns a Blog resource by ID.
- •query
List of the shop's blogs.
Anchor to MutationsMutations
- •mutation
Creates a blog.
- Anchor to blogblog•Blog
Create Input!required The properties of the new blog.
Arguments
- Anchor to blogblog•Blog
The blog that was created.
- Anchor to userErrorsuser•[Blog
Errors Create User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a blog.
- Anchor to blogblog•Blog
Update Input!required The properties of the blog to be updated.
- •ID!required
The ID of the blog to be updated.
Arguments
- Anchor to blogblog•Blog
The blog that was updated.
- Anchor to userErrorsuser•[Blog
Errors Update User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields