When inquiring about return, check whether or not to apply for return by LineItem

Solved

When inquiring about return, check whether or not to apply for return by LineItem

weap0n7
Shopify Partner
25 1 2

https://d838a7-2.myshopify.com/admin/api/2023-10/orders.json?return_status=return_requested

When I inquired about the order, I inquired about the return request with return_status=return_requested.

Is there a way to check which LineItem the customer requested for a return when inquiring about a return request?

 

weap0n7_0-1704676860956.png

 

Accepted Solution (1)

Liam
Shopify Staff
2846 311 811

This is an accepted solution.

The return object has a `Return.returnLineItems` connection that should allow you to access the return line items attached to the return - is this what you're looking for?

Liam | Developer Advocate @ 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

View solution in original post

Replies 2 (2)

Liam
Shopify Staff
2846 311 811

This is an accepted solution.

The return object has a `Return.returnLineItems` connection that should allow you to access the return line items attached to the return - is this what you're looking for?

Liam | Developer Advocate @ 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

simochouchoudan
Tourist
11 0 1

can you please share a curl code to dispaly a list of returned items using API