How to get article by handle use Graphql Admin API ?

tuanlead
Shopify Partner
6 0 1

I want to create universial store (use Sever Side Render (SSR) with first load and Single Page App (SPA) when navigate) and redirect to shopify checkout.

With SSR i use Graphql Admin API for server because rate limit admin api large then storefront api, but i need get article by handle, i don't know how to do it?

I can get product by handle, collection by handle but with article i cannot 😞

Replies 3 (3)

Kevin_A
Shopify Staff
318 42 61

Hey @tuanlead 

I think this is what you are looking for. 

Kevin_A | Solutions Engineer @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

tuanlead
Shopify Partner
6 0 1

I want to use Admin API because it can render on server side, it friendly for seo

umacy
Visitor
2 0 1

Hey @tuanlead, if you haven't figured it out, you can call storefront API from your backend as well. Admin API should be solely used on the server environment while storefront API can be used both in server and client.