question

extradhungel avatar image
extradhungel asked bryanvargas answered

Orders for last 3 years

Hi

We integrate with retailers and pull down their orders data for last 3 years. The clover API limits it to 1000 orders. How can I pull down the data for last 3 years?



for reference purpose i created following query with no success:

https://api.clover.com/v3/merchants/KL123LKPK11/orders?filter=createdTime>=1698796800&filter=createdTime<=1701388799

Response is as follows:

{

"elements": [],

"href": "http://api.clover.com/v3/merchants/121xsaswsdff/orders?filter=createdTime%3E%3D1698796800&amp;filter=createdTime%3C%3D1701388799&filter=stateIS%20NOT%20NULL&limit=100"

}



This was suggested in: https://docs.clover.com/docs/limits-added-to-calls-to-payments-and-orders-endpoints

Orders
10 |2000

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

1 Answer

·
bryanvargas avatar image
bryanvargas answered

The time format is wrong, it needs to be Milliseconds since Epoch

10 |2000

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

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.

Welcome to the
Clover Developer Community