Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

I need to check orders with multiple financial status

eg252
Visitor
1 0 0

I need to check for paid AND partially refunded orders. Is there a way to check for 2 statuses?

like this

/admin/api/2021-10/orders.json?financial_status=paid&financial_status=partiallyrefunded

 

I see this question was asked before but I couldnt find any responses that i can use

Reply 1 (1)

csam
Shopify Staff (Retired)
267 40 51

Hi @eg252 

 

You can do this by including the financial_status parameter once, and putting the values you are wanting to check for as a comma-separated list. You would want it look like this: 

 

/admin/api/2021-10/orders.json?financial_status=paid,partially_refunded

 

Hope this helps!

To learn more visit the Shopify Help Center or the Community Blog.