How to get count of In-stock published products using graphql or Rest API ?

Tourist
12 0 3

I have a use case in my app to fetch In-stock published products count. How can i achieve it ? 

0 Likes
Highlighted
Shopify Partner
1465 174 276

You can get the published products using /admin/api/2020-01/products/count.json?published_status=any, but you can't filter by availability.

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes