Out now! Check out the Poll results: Do you have a Shopify store?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Orders API not able to get orders which are done outside our sales channel app

Orders API not able to get orders which are done outside our sales channel app

bt-raman
Tourist
8 0 2

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!!!!!

Replies 5 (5)

SBD_
Shopify Staff
1831 273 421

Hey @bt-raman,

 

Can you provide the store name + example order ID.

Scott | Developer Advocate @ Shopify 

bt-raman1
Visitor
2 0 0

Hi @SBD_ , 

I am @bt-raman  commenting from a different account. 
the store name is gonee.myshopify.com and example order id is : 2196695875665

 

Thanks

bt-raman
Tourist
8 0 2

Hi @SBD_ ,

 

Any information on this. Our workflow depends on this functionality.

 

Thanks

bt-raman
Tourist
8 0 2

@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 ?

bt-raman1
Visitor
2 0 0

@scottydont  After hitting the API again, this is the requestId we got:

X-Request-Id : 0e1d481e-3ae6-4f07-ba31-89c691270483