# API UserErrors: Exchange items cannot be added to an order placed via an unsupported source application

**URL:** <https://community.shopify.dev/t/api-usererrors-exchange-items-cannot-be-added-to-an-order-placed-via-an-unsupported-source-application/27456>\
**Category:** GraphQL Admin API Troubleshooting\
**Tags:** rest-migration\
**Created:** [December 17, 2025, 12:29pm UTC](https://community.shopify.dev/t/api-usererrors-exchange-items-cannot-be-added-to-an-order-placed-via-an-unsupported-source-application/27456 "2025-12-17T12:29:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sani\_kumar](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@sani\_kumar](https://community.shopify.dev/u/sani_kumar)\
**Post date:** [December 17, 2025, 12:29pm UTC](https://community.shopify.dev/t/api-usererrors-exchange-items-cannot-be-added-to-an-order-placed-via-an-unsupported-source-application/27456/1 "2025-12-17T12:29:09Z")

</div>

![WhatsApp Image 2025-12-17 at 13.03.23](https://global.discourse-cdn.com/shopifycommunity/original/2X/6/6704ce43561bbd16c61a1ed400881e2befc6fbcc.jpeg)

Hi everyone,

I’m facing an issue while trying to **add exchange items to an existing order via Shopify Admin API** , and I’m hoping someone can clarify the limitation or suggest a workaround.

* * *

### 🔧 **What I’m Trying to Do**

- Create or process an **exchange** for an existing order

- Add new line items (exchange items) to that order using the **Shopify Admin API**

- This is being done from a \*\*custom app (API-based workflow)

---

<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:** [December 18, 2025, 12:11pm UTC](https://community.shopify.dev/t/api-usererrors-exchange-items-cannot-be-added-to-an-order-placed-via-an-unsupported-source-application/27456/2 "2025-12-18T12:11:39Z")

</div>

Hi @sani_kumar

The docs you’ll want to follow for this are:

- [Managing exchanges with the GraphQL Admin API](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-exchanges)  
and for newer flows:
- [Migrate to return processing (returnProcess)](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/migrate-to-return-processing)

You can’t directly “add exchange items” to an existing order; instead, Shopify models exchanges through the **returns system** in the Admin GraphQL API. The supported flow is: query `returnableFulfillments` for an order’s returnable items, use [`returnCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/returnCreate) with both `returnLineItems` (what’s being sent back) and `exchangeLineItems` (what you want to send out), then use [`returnProcess`](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/returnProcess) to confirm the exchange and create fulfillment orders.

Your mutations likely work on a development store but fail on a live store because of **environment differences** , not because of the GraphQL syntax. The most common issues are: missing scopes (`read_returns` / `write_returns` not granted on the live install), using an older **API version** in production (you should use `2024-07` or later), and orders on the live store not being in a **returnable state** (items must be fulfilled to be returned/exchanged).

Another frequent problem is accidentally using **IDs from the wrong store** (dev IDs in production), or not checking the `userErrors` returned by Shopify, which will usually tell you exactly what’s wrong (authorization, invalid state, bad IDs, etc.).
