GraphQL: Query blog articles by tag

Highlighted
New Member
4 0 0

I'm looking to query blog articles by tag using the GraphQL API 

 

I see the documentation provided about the "OnlineStoreBlog" and "OnlineStoreArticles" but can't seem to make sense of how to input my query

https://shopify.dev/docs/admin-api/graphql/reference/object/onlinestoreblog

https://shopify.dev/docs/admin-api/graphql/reference/object/onlinestorearticle

 

I've also tried to use the GraphQL Explorer but still can't seem to figure out how to input the blog ID or tags, or even how to query any sort of blog/articles.

https://shopify.dev/graphiql/admin-graphiql

 

Any help would be greatly appreciated, thank you!

 

0 Likes
Highlighted
Shopify Partner
1781 211 370

The API is missing some of the bits, so for now there is no way to query or access Blogs/Articles using GraphQL API, at least I wasn't able to make it work,

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes