Shopify GraphQL API - Product Count

Example call to get product count from Shopify GraphQL API

Kevin Wilde

Last Update 22 days ago

Demonstration of calling the Shopify GraphQL API to get a count of products in your Shopify product inventory:


Demo store password: eacoht


https://apiease-demo.myshopify.com/pages/shopify-graphql-api-products


Example of APIEase Request for Shopify Product Count

Address: https://apiease-demo.myshopify.com/admin/api/2024-07/graphql.json


Method: POST


Header Parameters:


  Name: X-Shopify-Access-Token

  Value: your-shopify-access-token (Follow these instructions to get your Shopify access token: https://apiease.tawk.help/article/shopify-access-token)


  Name: Content-Type

  Value: application/json


Body Parameters:

  Value: { "query": "query { productsCount { count } }" } 

Was this article helpful?

0 out of 0 liked this article