Customers can return individual items from a product set, such as one item from a three-piece skincare set, instead of sending back the whole set. This article explains what customers see in the returns portal, how each item's refund is calculated, and how Swap records the set in Shopify.
Before you start
Set splitting is switched on in your Swap dashboard: go to Returns → Settings, open the Discounts & Credit tab and find Shopify sets.

Each product set must also be set up in Shopify, so Swap knows which items belong to it:
- In Shopify, add a variant metafield in the custom namespace to the set that lists the items in the set. For how to create a metafield, see Shopify's guide to metafields.

- In Swap, enter the metafield's key in Bundle metafield key, without the namespace. For example, if your metafield is
custom.set_components, enterset_components.

- Switch on Allow customers to return individual items from Shopify sets.

Quality control uses the same key to identify the items in a set.
What customers see in the returns portal
- The set appears in the order as one item, with a Split (x-piece set) link underneath. The number matches the number of items in the set.

- The customer clicks Split. Each item in the set appears as its own row, and the set itself can no longer be selected.

- The customer selects the items they want to return and continues with the normal return flow.
To return the whole set instead, the customer clicks Merge to fold the items back into the set.
The refund shown for each item is its share of what the customer paid for the set. See the next section for how this is calculated.
Sometimes the customer can't switch between the two views:
Situation | What the customer sees |
An item from the set is already in this return | The set stays split, with no Merge, until that item is removed. |
An item was returned in an earlier return, so no complete set is left | The set stays split. Only the remaining items can be returned. |
Every remaining set is already in the return as a whole set | The Split link is hidden. |
Your return rules apply to an item from a set in the same way they apply to the set itself. This covers return windows, advanced rules, return options, warranty eligibility and carrier rules. For example, if an advanced rule blocks returns for products with a particular tag, it also blocks each item in a set that carries that tag.
A customer who bought more than one of the same set can return one whole set and individual items from another. They can't return more of any item than they bought.
A customer can exchange an item from a set in the same way as any other returned item.
How each item's refund is calculated
Each item's refund is its share of the price the customer paid for the set. The share is based on the item's price in your Shopify catalogue, compared with the catalogue prices of the other items in the set.
For example, a customer paid £50 for a skincare set. Bought separately, the three items cost £30, £20 and £10, which is £60 in total:
Item | Catalogue price | Share of the set | Refund |
Cleanser | £30 | 50% | £25.00 |
Serum | £20 | 33.3% | £16.66 |
Moisturiser | £10 | 16.7% | £8.33 |
Total | £60 | 100% | £49.99 |
- Refunds are rounded down, so the items in a set never add up to more than the customer paid. In the example, the three refunds total £49.99, not £50.01.
- Discounts are shared in the same proportions. If the set was bought with a discount, each item carries its share of that discount.
- Taxes and duties are shared in the same proportions, with the same rounding.
- A fully discounted item refunds £0, never a negative amount.
What you see on the RMA
- A returned item from a set shows a Part of set badge. Hovering over it shows: "Refunded on its own. The set is restocked once every item in it is returned."
- The restock checkbox on an item from a set decides whether the set is restocked once every item in it is back. Items are never restocked one by one, because Shopify tracks stock for the set, not for the items inside it.
- After the return is processed, the restock checkbox no longer appears on items from a set, and they are left out of manual restocking.
For how restocking works on other returns, see Understanding restocking (Returns V2).
What happens in Shopify
Shopify only knows about the set, not the items inside it. So:
- Each item is refunded on its own as an amount. The customer receives the usual refund notification. The item doesn't appear as a returned line item on the Shopify order, and nothing is restocked yet.
- When every item in a set is back, and the returns containing them are completed, Swap marks one set as returned on the Shopify order. This step doesn't refund any more money and doesn't notify the customer, because each item has already been refunded.
- Whether the set is restocked depends on the restock checkbox on the item in the return that completes the set.
- Returning a whole set works the same way as any other return.
For example, a customer orders one skincare set and returns its items one at a time:
Return | Customer is refunded for | What happens to the set in Shopify |
Return 1: Serum | Serum | Nothing yet |
Return 2: Cleanser | Cleanser | Nothing yet |
Return 3: Moisturiser | Moisturiser | Every item is back, so the set is marked as returned and restocked if the restock checkbox is ticked |
If the return that completes the set is an Instant Exchange, Swap marks the set as returned in Shopify but doesn't restock it, because the items haven't arrived back yet.
Notes on the return timeline
Swap adds one of these notes to the return when a set is completed:
Note | What it means |
Marked Skincare Set (x1) as returned in Shopify after every item of the set was returned; restocked x1 | The set is complete and has been recorded and restocked in Shopify. |
Restocked Skincare Set (x1) after every item of the set was returned | Shopify couldn't be updated, but the set was put back into stock. |
Could not mark Skincare Set as returned in Shopify: … It will be retried when the next return on this order is completed | Shopify couldn't be updated. Swap tries again when the next return on the order is completed. |
Limitations
- Only some items are returned. Each returned item is refunded, but the set is never marked as returned or restocked in Shopify, because a set with missing items can't be resold.
- Items come back across several returns. The set is completed when the return containing the last missing item is completed, not when it's submitted.
- Sets that contain more than one of the same item, such as a three-pack of the same socks, aren't supported.
- Sets with more than 20 items can only be returned whole.
- An item in the set has been deleted from your Shopify store. The set can only be returned whole.
- Global orders. Sets can only be returned whole.
- Set details can't be loaded from Shopify. The customer can still return the whole set. If they try to return a single item, they see: "Set item details are currently unavailable. Please try again later or return the whole set." This stops a single item from being refunded at the full set price.
- Set splitting is switched off after items were returned. Customers can only return whole sets again. Earlier returns still count: if an item from a set was already returned, that set can't be returned whole.
- Shopify is unavailable when Swap marks the set as returned. The completed return isn't affected. Swap still puts the set back into stock and adds a note to the return, then tries again the next time a return on the same order is completed. If no other return on that order is completed, the set stays unmarked in Shopify and needs a manual follow-up.

























