Kent
1
Hey! I have a question about your API.
If I call
HEAD https://api.veeqo.com/products?page_size=110
I get back headers letting me know how many products I have. That is my goal, and it seems to work fine.
However, it is not part of your API documentation. Is it safe/ok/futureproof to use?
Hi, @kent!
Welcome to the Veeqo developer forum!
It’s not really necessary to make a request with a page size that large, as the response would take a long time to generate.
I’d recommend that you use the following: /products?page_size=1&page=1
- This will give you the same header (x-total-count)
I would say the above is find to use longterm.
Hope this was helpful!
Kris.