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

Join Date: Mar 2015
Posts: 7

Default Re: REST API Module


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<rest-api-key>&_path=order&_cnd[dateRange]=01-Jan-2020 ~ 01-Jun-2020

That should do it.
X-Cart Business
Reply With Quote