Discussing APIs and development related to customers, discounts, and order management.
Hi,
We have a sales channel app associated with our shopify store. Initially we used to fetch all the orders which are done on our store (It includes orders via our sales channel app and orders which are done directly at store). But now when we are trying to fetch orders, only the orders which are done with out sales channel are coming I am using the following API to fetch orders :
https://myshopName.myshopify.com/admin/api/2020-01/orders.json
and i am not passing any parameter except for
X-Shopify-Access-Token : "MY_ACCESS_TOKEN
Also when i try to fetch the specific order with orderId using the following API :
/admin/api/2020-01/orders/#{order_id}.json
Then also only the orders which are done with my sales channel app are coming. For the order which are done using store i am getting the following:
{ "errors": "Not Found" }
It was working fine till first week of march and i was getting all orders using the same code. Now my question is that is there any change in the shopify policies or APIs which i am not aware about or am i doing something wrong while fetching the data?
Help is appreciated!!!!!
Hey @bt-raman,
Can you provide the store name + example order ID.
Scott | Developer Advocate @ Shopify
@SBD_ I got a private message :
"Can you please provide the request id from the headers in the 'not found' response?"
But not able to see it now. Any workaround ?
@scottydont After hitting the API again, this is the requestId we got:
X-Request-Id : 0e1d481e-3ae6-4f07-ba31-89c691270483