# Determining actual refunded amount on a return line level

**URL:** <https://community.shopify.dev/t/determining-actual-refunded-amount-on-a-return-line-level/12658>\
**Category:** GraphQL Admin API Troubleshooting\
**Tags:** general-gql-troubles\
**Created:** [April 2, 2025, 8:55am UTC](https://community.shopify.dev/t/determining-actual-refunded-amount-on-a-return-line-level/12658 "2025-04-02T08:55:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lull](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@Lull](https://community.shopify.dev/u/Lull)\
**Post date:** [April 2, 2025, 8:55am UTC](https://community.shopify.dev/t/determining-actual-refunded-amount-on-a-return-line-level/12658/1 "2025-04-02T08:55:26Z")

</div>

Hi,

I cannot figure out how to find the actual amount refunded on a return order line.

I tried this:

```auto
{
  order(id: "gid://shopify/Order/6584484856113") {
    returns(first: 10) {
      edges {
        node {
          id
          name
          refunds(first: 10) {
            edges {
              node {
                id
                refundLineItems(first: 10) {
                  edges {
                    node {
                      id
                      quantity
                      priceSet {
                        presentmentMoney {
                          amount
                        }
                      }
                      lineItem {
                        id
                        sku
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

```

but the amount seems to be the unit price as it was when the order was placed as opposed to the actual refunded amount, that may differ from the original price in case the merchant decides to e.g. refund less for whatever reason.  
I need the actual refunded amount on a line level. I know I can get the refunded amounts from the transactions, but in case there are multiple returns, I cannot tie a given refund to a given return.

Anybody knows how to get the actual refunded amount and being able to define it on a line level in case multiple lines are returned and refunded?

Kind regards,  
-Louise

---

<div class="post-metadata">

**Author:** ![Lull](https://avatars.discourse-cdn.com/v4/letter/l/858c86/32.png) [@Lull](https://community.shopify.dev/u/Lull)\
**Post date:** [April 2, 2025, 9:01am UTC](https://community.shopify.dev/t/determining-actual-refunded-amount-on-a-return-line-level/12658/2 "2025-04-02T09:01:48Z")

</div>

Ah I now realize (why is it always delayed to 2min after the post) that a refunded amount is not tied to a returned line, but there is a refund total per return:

```auto
{
  order(id: "gid://shopify/Order/6584501961009") {
    returns(first: 10) {
      edges {
        node {
          id
          refunds(first: 10) {
            edges {
              node {
                id
                totalRefundedSet{
                  presentmentMoney{
                    amount
                  }
                }
                refundLineItems(first: 10) {
                  edges {
                    node {
                      id
                      quantity
                      lineItem {
                        id
                        sku
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![Liam-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/liam-shopify/32/6_2.png) [@Liam-Shopify](https://community.shopify.dev/u/Liam-Shopify)\
**Post date:** [April 4, 2025, 7:57am UTC](https://community.shopify.dev/t/determining-actual-refunded-amount-on-a-return-line-level/12658/3 "2025-04-04T07:57:17Z")

</div>

Glad you figured this out Lull!
