Need to get line item is fully refunded or partially refunded by shopify api

nisha125
Shopify Partner
4 0 2

I have an order with two line items. Then I refunded one line item with $5 and other with $3. Then I am using "admin/api/2019-07/orders/450789469/refunds.json" api to get refund amount. But this Api returning refund amount based on order id json not line item id http://prntscr.com/ooz0vs .

Means I want to know refunded amount $5 belongs to which line item by refunded Api . Please help me with this

Reply 1 (1)
Johnathan2
Tourist
4 0 1

I am having the same problem, could you figure out how to get the refund amount by line item id?