简体   繁体   中英

Shopify graphql get article by handle?

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

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 .

graphiql Explorer的屏幕截图

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM