How to get article by handle use Graphql Admin API ?

tuanlead
Shopify Partner
6 0 0

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

0 Likes
Kevin_A
Shopify Staff
Shopify Staff
213 27 40

Hey @tuanlead 

I think this is what you are looking for. 

Kevin_A | Developer Support @ 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

0 Likes
tuanlead
Shopify Partner
6 0 0

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

0 Likes
umacy
New Member
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.

0 Likes