Order API Endpoint created_at_min filter not returning order

New Member
1 0 0

Hi,

 

I'm trying to fetch orders using the create_at_min filter and with API request like the one below:

admin/api/2020-04/orders.json?created_at_min=2020-05-04T13:30:00+10:00
I'm not able to retrieve my order and get this response instead:

{
    "orders": []
}
 
The created date of the order I'm trying to fetch is:  

"created_at": "2020-05-04T13:45:15+10:00",
Base on the filter above, it should have been returned since it is created after 2020-05-04T13:30:00+10:00.
 
 
Only when I try to update the request and use time 10 hours back since the time my order is created that I'm able to retrieve the order:

admin/api/2020-04/orders.json?created_at_min=2020-05-04T03:30:00+10:00:

{
    "orders": [
        {
            "id"2255774220424,
            "email""jane@example.com",
            "closed_at"null,
            "created_at""2020-05-04T13:45:15+10:00",
            "updated_at""2020-05-04T13:45:16+10:00",
            "number"211,
....
 
Anybody got any input what could be the issue here?
 
Thanks
 
 

 

0 Likes