How do I prevent historical or migrated orders from being sent to Route?
Last updated: August 11, 2026
If you are bulk-importing historical orders into Shopify — during a platform migration, a data backfill, or a store consolidation — Shopify creates an order event for every imported order. Without a filter in place, Route treats each one as a brand-new order.
That means old, already-delivered orders show up in your Route dashboard, your reporting gets skewed by orders that were never eligible for coverage, and customers may be able to file claims against orders that predate your Route coverage.
Quick answer: Route automatically ignores imported orders that carry a recognized migration source. If you use Matrixify, this usually happens by default and you do not need to do anything. If you use another tool, set the order's source to external-migration.
How it works
Every Shopify order carries a source_name value identifying where it came from — for example web for online store checkout, or pos for Shopify POS.
Route checks this value when an order arrives. If it matches a recognized migration source, Route ignores the order completely: no order record is created, no coverage is applied, and no claim can be filed against it.
Route recognizes two values:
Value | When it applies |
|---|---|
| Set automatically by Matrixify on imported orders |
| Set manually by you, for imports through any other tool |
If you use Matrixify
In most cases, no action is required. Matrixify sets the source to Matrixify App by default on every order it creates. As long as you leave the Source column out of your import file — or include it with empty cells — your imported orders are ignored by Route automatically.
If your import file already uses the Source column for another purpose, either remove the column entirely, or set every cell in it to external-migration.
Note: Your Shopify Admin and Analytics will show the Order Channel as "Matrixify" regardless of what you enter in the Source column. This is expected Shopify behavior and does not affect whether Route ignores the order.
If you use another import tool or a custom script
Set the order's source_name to exactly:
external-migrationUsing Shopify's REST Admin API, include it in the order payload:
{
"order": {
"source_name": "external-migration",
"line_items": [ ... ]
}
}Using the GraphQL Admin API, set sourceName in your orderCreate input.
The value is matched exactly and is case-sensitive. External-Migration, EXTERNAL-MIGRATION, and external migration will all be treated as normal orders and ingested.
Before you run a full import
The source can only be set when the order is created. Shopify does not allow this value to be changed afterward, so there is no way to apply the filter retroactively.
This only works for imports made through an app or the API. Orders created manually in Shopify Admin, or imported through tools that do not let you control the source value, cannot use this method. Contact Route Support before running an import of this kind.
Use only
external-migration. Certain other custom values cause Shopify to automatically email your customers an order confirmation.Test with a small batch first. Import 5–10 orders, confirm none appear in your Route dashboard, then proceed with the full import.
Verifying it worked
After your test batch completes, check your Route merchant dashboard. Correctly filtered orders will not appear at all — there will be no record of them.
If the test orders do appear, stop the import and check that:
The source value matches exactly, including capitalization
The value was applied at order creation, not added afterward
Your import tool is not overriding the value with its own
Then contact Route Support before continuing.
If you have already imported orders
Because the source value cannot be changed after an order is created, imported orders that were already ingested need to be handled on Route's side.
Contact Route Support with:
The approximate date and time range of the import
The number of orders involved
A sample of 3–5 affected Shopify order numbers