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.

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

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 11

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