blog
Fetch a specific Blog by one of its unique attributes.
Arguments
- handle (String)
- id (ID)
- Anchor to handlehandle•String
The handle of the
Blog.- •ID
The ID of the
Blog.
Anchor to Possible returnsPossible returns
- Blog (Blog)
- Anchor to BlogBlog•Blog
An online store blog.
- Anchor to articleByHandlearticle•Article
By Handle Find an article by its handle.
- Anchor to handlehandle•String!required
The handle of the article.
Arguments
- Anchor to articlesarticles•Article
Connection! non-null List of the blog's articles.
- Anchor to firstfirst•Int
Returns up to the first
nelements from the list.- Anchor to afterafter•String
Returns the elements that come after the specified cursor.
- Anchor to lastlast•Int
Returns up to the last
nelements from the list.- Anchor to beforebefore•String
Returns the elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Article
Key Sort Keys Default:ID Sort the underlying list by the given key.
- Anchor to queryquery•String
Apply one or multiple filters to the query. Refer to the detailed search syntax for more information about using filters.
Arguments
- •[Article
Author!]! non-null The authors who have contributed to the blog.
- Anchor to handlehandle•String!non-null
A human-friendly unique string for the Blog automatically generated from its title.
- •ID!non-null
A globally-unique ID.
- Anchor to metafieldmetafield•MetafieldToken access required
A custom field, including its
namespaceandkey, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to namespacenamespace•String
The container the metafield belongs to. If omitted, the app-reserved namespace will be used.
- •String!required
The identifier for the metafield.
Arguments
- Anchor to metafieldsmetafields•[Metafield]!non-null Token access required
A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to identifiersidentifiers•[Has
Metafields Identifier!]! required The list of metafields to retrieve by namespace and key.
The input must not contain more than
250values.
Arguments
- Anchor to onlineStoreUrlonline•URL
Store Url The URL used for viewing the resource on the shop's Online Store. Returns
nullif the resource is currently not published to the Online Store sales channel.- •SEO
The blog's SEO information.
- Anchor to titletitle•String!non-null
The blogs’s title.