Product API Related issue

SHAHABFACTS
New Member
1 0 0

Hi,

I have added total  58734 products in Shopify website.
when I trying to call the product list API using pagination only getting some of the count
Request URL   https://{USERNAME}:{USERNAME}@{STORENAME}.myshopify.com/admin/api/2020-01/products/count.json?direction=next&limit=250&last_id=6100769505446
 
Each call we are passing last id as response max(productid)
Response
first call its getting 250 
second call its getting 250 
third call its getting 250 
fourth call its getting 80
fifth  call its getting 79
sixth call its getting 78
seventh call its getting 77...…..
0 Likes