GraphQL: Query blog articles by tag

GraphQL: Query blog articles by tag

pkavanaghjr
New Member
5 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!

 

Replies 3 (3)

Visely-Team
Shopify Partner
1843 210 488

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

groseler
Visitor
2 0 0

Hello, did you find any solution?

lokki54
Shopify Partner
55 0 15

thank you. Your query helps a lot