question

martincarlin1987 avatar image
0 Likes"
martincarlin1987 asked

GetOrders - SortingOrder doesn't work as expected? Trying to ensure most recent orders come first

Hi, I am using the GetOrders call and trying to automate a check for newly sold items so I thought the SortingOrder attribute would be the thing to use but it doesn't seem to work correctly. e.g. using Ascending on page one (of 3) the first LastModifiedTime is **2016-06-24T06:10:18.000Z**, but on page 2 it's **2016-09-06T23:14:26.000Z** and on page 3 it's **2016-09-08T12:04:28.000Z,** so how does it work and is there a way to get most recently modified/sold items first (i.e. on page 1)? If I change the SortingOrder to Ascending, the first on page 1 is **2016-06-24T06:10:18.000Z**, **2016-07-05T12:44:59.000Z** on page 2 and **2016-07-26T18:29:58.000Z** on page 3. Thanks, Martin
getordersPHP
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.