Sorting in the GET order API

I wanted to inquire about the sorting functionality in the GET order API. During the initial API development phase, we observed that the orders were retrieved in ascending order of order creation through the API. However, recently we noticed that the orders are being returned without any specific sequence.
Can you please confirm how the sorting works for GET order?

Hi Veeqo Support Team,

I’m following up on this. Can anyone please confirm?

Thank you!

Hi, I believe return order is newest first, oldest last. That’s the principle I have been using to work with orders using the API. I posted a similar answer on another topic. https://developer-forum.veeqo.com/t/api-call-limitations/788/5?u=richard

I hope that helps a little.

Hey @APIWorx,
The orders are returned from the API in descending order ID. If you have orders that are not created in Veeqo, i.e. they were pulled from a connected store, then it could be the case that the created by date was when the order was placed on the store.

Hey Richard,
Thank you for taking the time to share this information with us.

Hey Samuel,
Thank you for taking the time to share this information with us.