Unable to fetch the orders details via API with created_at_min parameters.

Highlighted
New Member
3 0 0

Hi Team,

I have created an API request to fetch the last 30 min orders details but I got a blank result for the same but when I tried to get the order count for the same then I got the count.

I used the following request to get the details of the orders:

Request:
https://{api-key}:{api-password}@fansculture.myshopify.com/admin/api/2020-07/orders.json?status=any&limit=250&created_at_min=2020-07-08T05:48:24+01:00

Response:

stdClass Object
(
    [orders] => Array
        (
        )

)

 

When I tried to count the orders then I got the count for the same.

Request:
https://{api-key}:{api-password}@fansculture.myshopify.com/admin/api/2020-07/orders/count.json?status=any&limit=250&created_at_min=2020-07-08T05:48:24+01:00

Response:

stdClass Object
(
    [count] => 1
)

Could you please check this on highest priority?
I have checked all permissions which are required to access the details of the orders via private API.

 
 
 
0 Likes