Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

/admin/orders.json?financial_status=abandoned does not return abandoned orders. Could this be a bug in the API? by 7Spikes

$
0
0

Hi,

I am trying to retrieve the abandoned orders in my shop from the API and according to the documentation:

http://docs.shopify.com/api/order#index

The financial_status filter when set to abandoned should return the abandoned orders in the shop:

admin/orders.json?financial_status=abandoned 

I have 3 abandoned orders in my shop which I can see in the shop administration Orders -> Abandoned Checkouts.

But I cannot retrieve them from the Api.

Could this be a bug in the Api?

If you ask me why I am not using the checkouts.json endpoint it is because I was hoping that through the orders.json endpoint

I can get the abandoned orders by a customer_id. Because the orders.json endpoint accepts customer_id as a filter.

And if it accepts financial status as a filter then I should be able to do this:

/admin/orders.json?customer_id=123456&financial_status=abandoned

But leaving aside the customer_id filter, just trying the financial_status=abandoned one, does not work.

Please advise! There should be a way to get abandoned orders by customer. This seem like common requirement for many apps.

Thanks

 


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>