Product count using Graphql.

parth-gondaliya
Excursionist
18 0 4

How to get product count in the shop using Graphql?

We can get it from REST but I couldn't found in GraphQl.

 

PLEASE HELP!!!

Greg_Kujawa
Shopify Partner
1016 83 237

I don't believe GraphQL can give you a one-shot count of all products in a Shopify store. The REST API call works, is pretty basic to implement, so I'd suggest just using that in your project. Figure there are no query parameters to utilize, no request body to construct, etc. Just invoke the proper URL, provide your API credentials, and the response will come back!

0 Likes