The script I am working on will only need orders for a period after a created_at_min time. However as the created_at_min response starts with the most recent first, it would take a while to find the orders I actually require (would be 1000’s of orders to pass first).
So far the only somewhat practical solution I could come up with was finding the last page with a lot of get requests.
Is there a more efficient way around this problem?
I’m afraid that there isn’t a way to sort the orders response in reverse chronological order so at the moment the best method is to get to the last page and work backwards from there.
Sorry there isn’t a cleaner a way to do this at this time