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

Join Date: Mar 2015
Posts: 7

Default REST API Module

Trying to get all orders from 2020.

I have tried following the documentation and pass a condition with a start date and end date as an array. I have tried both Unix time and W3C time formats and all I can get is it returning all lifetime orders.

I have tried with W3Ctime:<rest-api-key>&_path=order&_cnd[dateRange]=[2020-01-01T00:00:01-04:00,2020-06-01T11:46:56-04:00]

I have tried with Unix Time:<rest-api-key>&_path=order&_cnd[dateRange]=[1577836801,1590693834]

I will point out that I have replaced my actual API key with a placeholder in the examples above.

Does anyone have any advice?
X-Cart Business
Reply With Quote