Some orders are not returning from the API

Highlighted
Shopify Partner
2 0 0

If I make an API call to the REST api to get an order

 

curl --request GET \
--url 'https://XYZ.myshopify.com/admin/orders.json?limit=250&ids=2233589006378&status=any' \
--header 'x-shopify-access-token: XYZ'

{
"orders": []
}

There are about 10-15 that we've found that fail to pull any results.

I can pull them up in Shopify directly. Even using .json in the URL. Works fine. But not through the API.

When I call the order directly using orders/{id}.json

 

curl --request GET \
--url https://xxx.myshopify.com/admin/orders/2238345871402.json \
--header 'x-shopify-access-token: xxx'

 

I get a 404 not found. Even though it very much is found on shopify itself.

I'm not sure what I'm missing, why these orders won't show up. They don't show up in any orders calls we make.

 

Thanks!

0 Likes