refund_line_item is returning null or emty array

ISTKHAR
New Member
3 0 0

Hi Support

I am generating sales report monthy wise from order api , how to calculate return value by product, the refund_line_item is returning empty array from order and refund API

Please look it why is reund_line_item is returning empty array and let know how we can calculate return value by product from order API. refunds value is returning but , did not specify which product value is returned.

I am sharing with you reponse please check this.

 

ISTKHAR_0-1612340837597.png

 

0 Likes
Kevin_A
Shopify Staff
Shopify Staff
213 27 40

Hey @ISTKHAR 

Can you provide the request ID from the response header so we can take a look? 

Kevin_A | Developer 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

0 Likes
ISTKHAR
New Member
3 0 0

Hi @KEVIN

request Id - 080d5fc67a000031f3f3380000000001

0 Likes
ISTKHAR
New Member
3 0 0

Hi @Kevin_A 

How we can calculate partially refunded amount by item.

I want  return value by product , so how we can calculate and what is formula.

 

  

0 Likes
Kevin_A
Shopify Staff
Shopify Staff
213 27 40

Hey @ISTKHAR 

I don't believe the request ID you gave me is valid. Can you confirm that is the x-request-id from the response header? 

Kevin_A | Developer 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

0 Likes