0
votes

is there a way to get the handle of a shopify blog article ? I'm talking about a human readable id/handle. It seems that this exists on the liquid side, but not sure why it doesnt exist on the graphql side.

Definitely the article "url" field is human readable, so im thinking that it must be there somewhere

1

1 Answers

0
votes

The Shopify GraphQL API is in beta.

The documentation for blog articles does not look complete yet as it only shows the id field, and I would expect other fields such as handle and body_html. https://help.shopify.com/api/graphql-admin-api/reference/object/onlinestorearticle

Using the GraphiQL tool it looks like some filtering is supported, but I could not get a match using handle.

screenshot from graphiql explorer

(I would like to know how to use introspection to find the list of supported filter parameters...)