In the last couple of days my app stopped importing new orders from the Shopify API. When I manually run an API request here’s the response I receive:
GET .../admin/api/2020-01/orders.json?status=any&limit=20
{"orders":[]}
I’ve tried a variety of parameters (status=any, updated_at_min=…, since_id=n, limit=n, etc) but the outcome is the same. I’ve also tried 2019-04, 2019-10, and 2020-01 API versions.
Other endpoints work as expected: shop.json, products.json, orders/count.json.
GET .../admin/api/2020-01/orders/count.json?status=any&updated_at_min=2020-03-01T02:00:00+01:00
{"count":125}
I haven’t needed this in my application before but out of curiosity I did try the specific order endpoint and got a Not Found error for a valid order ID that is from 7 days ago:
GET /admin/api/2020-01/orders/21......29.json
{"errors":"Not Found"}
However if I try to get the transactions from the same order ID it works as expected:
GET /admin/api/2020-01/orders/21......29/transactions.json
{"transactions":[{ ......lots of valid json with confidential info .... credit_card_company":"Mastercard"}}]}
For any Shopify admins monitoring this thread, here are the x-request-ids for a few relevant requests: