---
title: Remove unprocessed exchange lines from a return - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/remove-unprocessed-exchange-lines-from-a-return
  md: >-
    https://shopify.dev/changelog/remove-unprocessed-exchange-lines-from-a-return.md
metadata:
  effectiveApiVersion: 2025-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2025-06-17T15:53:55-04:00'
  postedAt: '2025-07-01T01:00:00-04:00'
  updatedAt: '2025-06-20T12:50:31-04:00'
  effectiveAt: '2025-07-01T01:00:00-04:00'
---

July 1, 2025

Tags:

* Admin GraphQL API
* 2025-07

# Remove unprocessed exchange lines from a return

We're introducing the [`removeFromReturn`](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/removeFromReturn) mutation, which allows you to remove unprocessed items from returns efficiently.

### What's new

This mutation enables the removal of:

* Return line items
* Exchange line items

### Replaces previous mutation

The `removeFromReturn` mutation supersedes the [`returnLineItemRemoveFromReturn`](https://shopify.dev/docs/api/admin-graphql/2025-07/mutations/returnlineitemremovefromreturn) mutation, which was limited to removing only return line items.

### Availability

Currently available in the `unstable` GraphQL API version, this mutation will be officially released in version `2025-07`.
