Thread: REST API Module
View Single Post
  #3  
Old 06-01-2020, 09:03 AM
 
atclarkson atclarkson is offline
 

Newbie
  
Join Date: Mar 2015
Posts: 7
 

Default Re: REST API Module

SOLVED:

For anyone else having this problem. despite the documentation saying it wants an array [start,end] It doesn't.

As Memoto said above you should go to your orders page and copy the date from there.

To clarify go to the orders page and use the filter option to select the dates you want. then copy the result from the text box. for me it is like this:

01-Jan-2020 ~ 01-Jun-2020

then paste that in your api call

https://agritronixcorp.com/admin.php?target=RESTAPI&_key=<rest-api-key>&_path=order&_cnd[dateRange]=01-Jan-2020 ~ 01-Jun-2020

That should do it.
__________________
X-Cart Business 5.3.6.6
www.agritronixcorp.com
Reply With Quote