# Migrating from Return.suggestedRefund to Return.suggestedFinancialOutcome

**URL:** <https://community.shopify.dev/t/migrating-from-return-suggestedrefund-to-return-suggestedfinancialoutcome/38994>\
**Category:** Products and Orders APIs\
**Tags:** admin-api-orders\
**Created:** [October 23, 2026, 6:13pm UTC](https://community.shopify.dev/t/migrating-from-return-suggestedrefund-to-return-suggestedfinancialoutcome/38994 "2026-10-23T18:13:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Courtney\_Goodin](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/courtney_goodin/32/840_2.png) [@Courtney\_Goodin](https://community.shopify.dev/u/Courtney_Goodin)\
**Post date:** [October 23, 2026, 6:13pm UTC](https://community.shopify.dev/t/migrating-from-return-suggestedrefund-to-return-suggestedfinancialoutcome/38994/1 "2026-10-23T18:13:13Z")

</div>

If your app calls `Return.suggestedRefund` on the GraphQL Admin API, this post is the migration guide.

**What’s happening**  
`Return.suggestedRefund` has been deprecated and its replacement, `Return.suggestedFinancialOutcome`, has been generally available since **2025-07** and handles both refunds and exchanges in a single call.

**Why migrate**  
`suggestedFinancialOutcome` models the full financial result of a return, including exchange line items, which `suggestedRefund` cannot represent. If you support exchanges — or plan to — it is the only field that will give you a correct total.

**Before**

```auto
query ReturnSuggestedRefund($returnId: ID!, $lineItems: [ReturnRefundLineItemInput!]!) {
  return(id: $returnId) {
    suggestedRefund(returnRefundLineItems: $lineItems, refundShipping: { fullRefund: true }) {
      amount { presentmentMoney { amount currencyCode } }
      subtotal { presentmentMoney { amount currencyCode } }
      totalTax { presentmentMoney { amount currencyCode } }
      suggestedTransactions { amountSet { presentmentMoney { amount currencyCode } } }
    }
  }
}

```

**After**

```auto
query ReturnSuggestedOutcome(
  $returnId: ID!
  $returnLineItems: [SuggestedOutcomeReturnLineItemInput!]!
  $exchangeLineItems: [SuggestedOutcomeExchangeLineItemInput!]!
) {
  return(id: $returnId) {
    suggestedFinancialOutcome(
      returnLineItems: $returnLineItems
      exchangeLineItems: $exchangeLineItems
      refundShipping: { fullRefund: true }
    ) {
      discountedSubtotal { presentmentMoney { amount currencyCode } }
      totalTax { presentmentMoney { amount currencyCode } }
      financialTransfer {
        __typename
        ... on RefundReturnOutcome {
          amount { presentmentMoney { amount currencyCode } }
          suggestedTransactions {
            amountSet { presentmentMoney { amount currencyCode } }
          }
        }
        ... on InvoiceReturnOutcome {
          amount { presentmentMoney { amount currencyCode } }
        }
      }
    }
  }
}

```

**What changes in practice**

- `exchangeLineItems` is required — pass an empty array if you don’t support exchanges. Each entry takes an `ExchangeLineItem` GID.
- `refundShipping` and `refundDuties` carry over unchanged.
- `amount` and `suggestedTransactions` move under `financialTransfer`, a union of `RefundReturnOutcome` and `InvoiceReturnOutcome` — the return’s net result can now be money owed _to_ the customer or _by_ them.
- `financialTransfer` is nullable. A return whose exchange value fully offsets the refund produces no transfer in either direction.

**Questions**  
Reply here and we’ll answer in the thread. If you maintain a public app and want to confirm whether your integration is affected, mention your app name and we’ll check.

```auto

```
