When Swap creates an exchange order or a Swap Gift Card (SGC) order in Shopify, we automatically add order tags to help you identify and report on the order.
This makes it easier to reconcile reports and understand the relationship between the original and the new order, and to adjust accounting reports based on the type of exchange.
Original order tag
Tag format
Exchange and SGC orders will include a Shopify order tag in the following format:
Swap_Original_Order:XXXXWhere:
- XXXX is the original order number that was returned.
- There are no spaces before or after the colon.
Example:
Swap_Original_Order:12345Where this tag is applied
The Swap_Original_Order:XXXX tag is automatically added to:
- Exchange orders created by Swap
- SGC orders created by Swap
You can use this tag in Shopify to:
- Filter and search for related orders
- Build custom reports
- Reconcile exchange activity against original sales
No configuration is required. The tag is added automatically when the new order is created.
Exchange type tags
Swap also adds a tag to exchange orders that shows whether the exchange increased, matched, or decreased the value of the order. This lets you filter and adjust accounting reports based on the type of exchange, without having to work it out order by order.
Tag format
Exchange orders will include one of the following Shopify order tags:
Swap_Exchange_upsaleSwap_Exchange_equalSwap_Exchange_downsaleTag | Applied when |
| The customer exchanged for a more expensive item |
| The customer exchanged for an item of the same value |
| The customer exchanged for a cheaper item |
How the exchange type is calculated
The tag compares product prices only:
- Shipping, tax, and duties are excluded from the calculation.
- Any Shop Now bonus is excluded from the calculation.
- Discounts are included in the calculation, using the discounted price.
Examples:
- A £100 item exchanged for a £100 item, plus a £3.99 shipping charge, tags as
Swap_Exchange_equal— shipping doesn't count. - A £100 item exchanged for a £105 item, with a 10% Shop Now bonus covering the difference so the customer pays £0, still tags as
Swap_Exchange_upsale— the bonus doesn't count, only the product prices do. - A £100 item with a 30% discount (£70) exchanged for another £70 item tags as
Swap_Exchange_equal— the discounted price is what's compared.
Where this tag is applied
The exchange type tag is added automatically when Swap creates the exchange order. It doesn't affect the Swap_Original_Order:XXXX tag — both can appear on the same order. No configuration is required and no merchant-facing setting controls this.

























