05-02-2023 12:24 PM
Hello,
I've noticed that two queries that for me should give identical results, give items that look different, especially in terms of sorting.
Request with the old API:
Request with the new API:
Results (first 4 items) old API vs new API:
We can clearly see with the color codes that the elements are not at all in the same order.
Am I missing something? It seems that on the new API, data is not sorted by "itemCreationDate" (or at least with a subtlety that I don't understand).
Obviously, this sorting problem can lead to shifts in the returned data.
Is there a solution to my problem?
Thank you very much in advance!
02-19-2024 12:32 PM
One year later, I decided to give a second chance to this new API, and I might have understand something :
Here is a quick snippet of the code I tried and the output.
As you can see, results should be sort by 'newlyListed', but according to the "itemCreationDate" that's not the case.
The "itemCreationDate" seems to be the creation date OR the re listed date of the item, instead of only the initial creation date (even if the "sort" filter seems correctly sort on the creation date only).
Any way this could be fixed? Maybe by showing the two dates fields?