Issue:
Cannot fetch orders data for selected shops.
/orders.json
returns an empty array.
Given:
An app that has granted appropriate permissions for the shops.
Development store that has various orders (different financial statuses).
When:
Trying to fetch orders list an empty array is returning.
Tested on 3 development stores.
Only for 1 of them, this issue is reproducible.
For the other 2 all work as expected (identical settings and set up).
Webhooks for orders paid has been fired. (for a store that returning an empty array in the response of /orders.json
).
Other data (like shops info /shop.json
successfully returning data)
Details:
App permissions list (scopes): ‘read_orders’, ‘write_orders’, ‘read_all_orders’
API_VERSION: “2019-10” (tried with latest, - the same behavior)
REQUEST: GET https://<developer-store-name>.myshopify.com/admin/api/2019-10/orders.json
(also tried with different filters, - the same behavior)
Shops list:
wavetest0207.myshopify.com
- cannot fetch orders
mystorelionvs2**.myshopify.com**
- successfully fetching orders