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.

Shopify GraphQL Admin API - How to get the return status of an order?

thanhnx_vnit
Visitor
1 0 1

Hi, guys
Sorry to bother you.

 

I want to use Shopify GraphQL Admin API to get the return status of an order, such as: NO_RETURN, IN_PROGRESS, RETURNED.

Orders.png
I spent 2 days but still can't do it.

 

Please help me!
Thanks & Best regards

Reply 1 (1)

JamesG
Shopify Staff
42 10 9

Hey @thanhnx_vnit 

Have you tried using the return_status parameter  on an orders() query? That should take any of those arguments:

JamesG | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog