question

tg avatar image
tg asked tg commented

REST API Query offset inconsistencies

I am having a confusing issue paging through data, the MID/token combination is consistent across the two queries.

this query returns an empty array: v3/merchants/{MID}/payments?filter=createdTime<1466572238187&filter=result=success&limit=1000&offset=0

while this query returns results: v3/merchants/{MID}/payments?filter=createdTime<1466572238187&filter=result=success&limit=1000&offset=12000

It seems as though the offset and the filter are not working together, is this expected behavior?

1 comment
10 |2000

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

tg avatar image tg commented ·

Note: Any small offsets (10, 100, 1000) all return an empty array, it is not until it goes larger (such as 12000) do we start seeing results

0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community