Shopify GraphQL API - Product count
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
This example includes an explicit X-Shopify-Access-Token header. For automatic shop access token usage and overrides, see Automatic vs overridden Shopify access tokens.
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(see Custom access token) - Name:
Content-Type
Value:application/json
- Name:
- Body parameters:
- Value:
{ "query": "query { productsCount { count } }" }