Get all the products by using since_id or page_id

Solved
Highlighted
Tourist
5 0 0

Hi Everyone,

 

1. When I call /pages/count.json-----I get reply 8

2. When I call Product/Count- I get a reply 6891.

So how is that possible? A page can have 250 products max....So its not making sense. Page count should be 35

 

I am also using Since_id for getting all the products but was only able to get 1683 products instead of 8k+ products.

 

What am i missing? Any help will be appreciated!

0 Likes
Highlighted
Excursionist
19 6 7

This is an accepted solution.

/pages/count.json gives you the number of webpages.

/products/count.json gives you the number of products. You can try with this param without other params :   published_status=any