Refunds - Get refund amount given a line item id

Johnathan2
Tourist
4 0 1

Hello, i have a question about the "Refund" object from the api: https://shopify.dev/api/admin-rest/2021-07/resources/refund

I want to know if, for a given refund, it is possible to know the returned amount for each line item, since i couldn't find how to do it reading the docs and reading questions in the community.

I understand that a refund object contains a list of "transactions" with the returned total amounts of a given transaction, and it also contains the "refund_line_items" field, with the information of the returned items. But is it possible to retrieve the returned amount for each line item?

Reply 1 (1)
tom_phillips
Shopify Partner
10 2 1

Hi Jonathan - At Co Lab we specialize in Shopify API issues if you want to shoot us a note about the problem you're having. https://colab.coop/contact/