Shopify Products API only returning 50 results

CodeclockerDev
Tourist
30 0 1

Hello,

 

I am working on a client store where I am trying to query all the products in their store. I was aware that the API returns a max result set of 250, but I'm seeing that I can only get 50 products returned in a single request.

 

I used this endpoint to get a count of the client's products: /admin/products/count.json 

and the result was :

 
{
count:74
}

Why am I unable to get the full product listing if it seems I am under the max limit?

 
Reply 1 (1)
Islam_Mohamed
Shopify Partner
4 0 1

The default is 50, to set it to 250 use this
orders.json?limit=250