question

richa avatar image
richa asked cherry commented

order list for 24 hours using node js

Hello,

I am trying to get orders of past 24 hours using node js but unable to fetch it. Can you please help on how to fetch orders between two datetime using node js

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

David Marginian avatar image
David Marginian Deactivated answered cherry commented

The first example here - https://docs.clover.com/docs/applying-filters shows you how to do this.

10 comments
10 |2000

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

richa avatar image richa commented ·

Hi David,

Thanks for your reply.But when I try it using nodejs it is not returning me proper answer.Following is my request url :

0 Likes 0 ·

David Marginian avatar image David Marginian ♦♦ richa commented ·

I believe you need 3 more digits (millis) in the timestamp you are passing.

0 Likes 0 ·
richa avatar image richa David Marginian ♦♦ commented ·

Hello David,

I tried with milliseconds as well but no change in response.

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community