Incorrect Product count given by the shopify API

adminelegant
New Member
5 0 0

Any idea why the product count is incorrect when I am calling the API

Below returns 1601products

https://elegant-british-furniture.myshopify.com/admin/api/2021-07/products/count.json

But I have 2027 products and they are in active status.

Am I missing something very basic?

Thanks for your help. 

 

Replies 3 (3)

oliversinz
Shopify Partner
96 7 17

Hi @adminelegant 

Welcome here.

Could you provide some codes for analysis?

- Was my reply helpful then Click Like and Mark it as an Accepted Solution

- Feel free to contact me regarding any help on: Twitter | LinkedIn | My website



- Want to modify or custom changes on store Hire me.
Shopify Partner | Full Stack Software Developer
adminelegant
New Member
5 0 0

Thanks for looking into it. 

Handle "zolatab" doesn't come but "princoffmah" comes. Below are more example handles that are not coming in the api

zolatab
zolacoff
zolachwhi
zoekswhi
zoeksoak
zoedouwhi
zoedou
zircsin
zircnig
zircmirr
zircks
zircdres6
zircdou
zircche4
zirc4foot
zentabwhi
zentabnat
zanocomp
yorktabm
yorksma
yorkrou
yorknest
yorkmed

 

 

adminelegant
New Member
5 0 0

Ok found the real issue in case anyone has similar issue. The API is showing correct product count. There are some products loaded with invalid images (not sure how shopify let the upload complete with missing images). I will check scenarios where shopify upload product with missing images but for now this issue can be closed.