Can I return more than 50 items from the listOrders function #ask-the-community

OneMoreTime, was almost on the right track! Almost!

So what is the issue? → YES → YOU CAN’T SETUP MORE THAN 50-ITEMS PER CALL!!!

BUT!!! —> What about —> SKIP ???

Let us investigate the API for listOrders…
—> List Orders | Velo

What do we have here???


Ok → Confirmed! This we already know now!

But what’s this?


Yes, some kind of pagination function, already mentioned by → OneMoreTime

Let’s open → PAGINATION-INFO…

Ok, now we got it → we can do multiple calls using SKIP to get more then 50-items (of course not with one call, but by generating multiple calls).

And if it comes to multiple calls → maybe we also should think about → PROMISE-ALL-FUNCTION!

----> Better way to get multiple values out of a promise? (getmember) - #2 by moran-frumer