Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Re: REST Admin API - Order returns an empty array

Solved

REST Admin API - Order returns an empty array

us_test
Visitor
2 0 8

Hi, team!

 

We noticed that the REST Order GET API returns an empty array when we add two request parameters below from last a couple of hours.

 

"fulfillment_status=any"
"financial_status=any"

 

I refered the latest REST Admin API reference but It seems it's not forbidden to put "any" as a property.
So, I wonder that there could be some changes on the REST API specification which is related to this issue recently.

 

Can someone help me with this?

Thank you in advance!

Accepted Solution (1)

Jonathan-HA
Shopify Partner
336 26 107

This is an accepted solution.

We just heard back from Shopify and they've resolved the issue on their end (though we were able to come up with a workaround earlier).

 

Ran a quick test and API requests are working properly now when financial_status=any or fulfillment_status=any.

 

Here's their response:

 

Thanks for your patience while I have been in communication with my API Support team! I am pleased to inform you that the issue your clients were experiencing, where they were having trouble retrieving order data from the API, should now be resolved. Our developers were made aware of this issue, as it was affecting other app partners as well. They have taken the necessary steps to address the problem by reverting some recent changes. As a result, the issue should no longer persist for your app clients.

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill

View solution in original post

Replies 10 (10)

Grega_Grmovsek
Shopify Partner
7 0 5

We have the same issue.

RobertoEZ
Shopify Partner
1 0 1

Same problem here. Issue started at midnight UK time on all stores.

philmander
Shopify Partner
2 0 9

Jonathan-HA
Shopify Partner
336 26 107

Same issue here and it looks like all API versions are affected. We're on 2023-04 and saw another post from someone on 2022-07 also having the same issue.

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill

Steve1129
Visitor
2 0 1

I changed the payment status from Any to paid and I got the orders to export that way

Sabrina_Alaiko
Shopify Partner
2 0 0

We have the same issue, however only for a subset of shops.

We are using "financial_status=any" for all our order requests and Shopify is still returning orders for some of our shops.

 

Also cannot find anything in the Shopify documentation. Waiting for an official statement on how to proceed.

Steve1129
Visitor
2 0 1

I just got a response from highview apps. They have corrected the issue and are waiting on an official answer from shopify. 

Jonathan-HA
Shopify Partner
336 26 107

This is an accepted solution.

We just heard back from Shopify and they've resolved the issue on their end (though we were able to come up with a workaround earlier).

 

Ran a quick test and API requests are working properly now when financial_status=any or fulfillment_status=any.

 

Here's their response:

 

Thanks for your patience while I have been in communication with my API Support team! I am pleased to inform you that the issue your clients were experiencing, where they were having trouble retrieving order data from the API, should now be resolved. Our developers were made aware of this issue, as it was affecting other app partners as well. They have taken the necessary steps to address the problem by reverting some recent changes. As a result, the issue should no longer persist for your app clients.

Co-Founder / Developer at Highview Apps
Our Shopify Apps: EZ Exporter | EZ Inventory | EZ Importer | EZ Notify | EZ Fulfill

CardsPlug
Shopify Partner
5 0 0

Seems to be working for us now, possibly fixed! 

us_test
Visitor
2 0 8

It's working now!
Thanks everyone for sharing your helpful information!