Last Updated: December 1, 2026
Quick Summary
Preserve order history during migration by mapping every field, status, and relationship before you export anything, then proving the destination matches the source with written reconciliation checks and named sign-off. Order data is relational, so line items, payments, refunds, and customer links must move together or records become orphans.
- Take a full backup of the source database and store it off-platform before exporting.
- Map one-to-many relationships as one-to-many so split payments keep their reconciliation trail.
- Build an explicit status mapping table instead of letting an import tool guess.
- Use a tool for volume, a script for transformation, and human review for sign-off.
- Have someone other than the import script builder sign off on reconciliation.
Table of Contents
- Why Order History Is the Hardest Part of a Migration to Get Right
- An Ecommerce Order Data Migration Checklist Before You Export Anything
- Mapping Order Fields, Statuses, and Relationships Between Systems
- Odoo to Shopify Order Migration: What Changes and What Breaks
- Historical Order Import Tools for Shopify: What They Can and Cannot Do
- Ecommerce Migration Data Validation: Reconciliation and Acceptance Criteria
- Retention, Privacy, and Security for Historical Order Data
- Planning Your Order History Migration with Conversion Design
- Frequently Asked Questions
Why Order History Is the Hardest Part of a Migration to Get Right
Order history is the part of an ecommerce migration that looks simple on a project plan and becomes the biggest risk in practice.
This guide from Conversion Design, a Shopify Plus agency working with DTC brands across Europe from Ljubljana, covers a platform-neutral procedure for preserving order records through a migration.
Order data is relational, not flat.
Most migration failures share one root cause: teams export what is easy to export, then discover during testing that the data no longer means what it meant in the source platform.
An Ecommerce Order Data Migration Checklist Before You Export Anything
A complete ecommerce order data migration checklist starts before a single record leaves the source platform. This phase determines whether the rest of the project is a controlled process or a rescue operation.
Work through these items in order:
- Define migration scope: which date range, which order statuses, which channels
- Decide what migrates versus what is archived read-only
- Audit data completeness: missing emails, missing addresses, null statuses
Two items get skipped most often: the status audit and the backup. Both are cheap to do and expensive to skip.
Mapping Order Fields, Statuses, and Relationships Between Systems
Field mapping is the translation layer between source and destination. Every source field needs a destination, a transformation rule, or an explicit decision to drop it.
Field Mapping for Line Items, Payments, and Fulfillment
Line items carry the commercial detail: SKU, quantity, unit price, tax rate, discount allocation. Payments carry the transaction reference and amount. Fulfillment records carry shipment dates and tracking numbers.
The most common mapping error is collapsing a multi-payment order into a single payment record.
For a deeper treatment of data audits and rollback planning, see our guide on best practices for ecommerce database migration.
Order Statuses, Refunds, and Edge Cases
Statuses rarely map one-to-one. A source platform might have eight statuses; the destination might have five. Build an explicit mapping table rather than letting an import tool guess.
Refunds and returns need the same treatment. A refund is a linked record with its own amount, date, and reason, not a status change. Preserve the link to the original order or your reporting will double-count revenue.
Odoo to Shopify Order Migration: What Changes and What Breaks
Odoo to Shopify order migration changes the data model more than most teams expect. Because fields that lack a native equivalent need deliberate mapping to preserve their meaning, the same care applies when you migrate field service data across systems.
What typically changes:
- Sales orders and quotations split into distinct objects
- Invoicing moves out of the order record into a separate system or app
- Multi-warehouse fulfillment needs remapping to Shopify's location model
What breaks most often is the invoice link. In Odoo, an invoice is tightly bound to its sales order. Import orders without preserving that reference and your finance team loses the ability to trace a payment back to its document.
Cutover timing carries its own risk. For a structured view of what can go wrong during the switch, read our guide to Shopify Plus migration downtime risks.
Historical Order Import Tools for Shopify: What They Can and Cannot Do
Historical order import tools handle the mechanics of loading records, but they do not make decisions for you.
What they do well: bulk loading order headers, line items, and customer records with preserved dates.
What they cannot do: resolve ambiguous statuses, reconstruct broken relationships, or validate that totals reconcile.
The practical rule we apply: use a tool for volume, a script for transformation, and human review for sign-off.
Ecommerce Migration Data Validation: Reconciliation and Acceptance Criteria
Ecommerce migration data validation is the process of proving the destination data matches the source within defined tolerances.

Most teams treat reconciliation as a vibe check, spot-checking a handful of orders and moving on. A defensible reconciliation is a repeatable set of queries run against both systems, with a written tolerance for each check and a named sign-off.
The Reconciliation Checks That Actually Catch Problems
Record counts and order totals are table stakes. The checks that catch real failures are the relational and edge-case ones. Build your acceptance criteria around this set:
| Check | What to Compare | Suggested Tolerance |
|---|---|---|
| Order header count | Orders per month, source vs destination | Exact match, or every variance individually explained |
| Line item count | Total line items per month | Exact match |
| Gross and net order value | Sum per month and per currency | Match to the cent per currency |
| Status distribution | Count per status after mapping | Exact match after status mapping table applied |
| Refund and return totals | Sum of refund amounts per month | Match to the cent |
| Payment records per order | Count of payment transactions per order | Exact match; flag any order with fewer destination payments than source |
| Customer linkage | Orders attached to the correct customer account | Zero orphaned orders; guest orders remain guest orders |
| Date integrity | Order created date and paid date | Exact match to the source timestamp, timezone-normalised |
| Discount and tax allocation | Sum of discount and tax per order | Match to the cent |
Two checks do most of the work. Payment records per order: if a source order had a card payment and a gift card payment and the destination shows one, the total may still reconcile while the payment trail is broken, exactly the error that surfaces during a finance audit. Customer linkage: an order attached to the wrong account, or to none, breaks the customer's ability to see their own history and corrupts lifetime-value reporting.
Worked Examples of Acceptance Criteria
Abstract tolerances are hard to sign off. Concrete examples are not. A workable acceptance standard reads like this:
- For the period 1 January to 30 June, the destination must contain the same number of orders as the source, with any variance listed by order ID and explained in writing before sign-off.
- For every order in a random sample of 200 across the period, the order total, tax total, discount total, and refund total must match the source to the cent in the order's original currency.
- For every order in the sample that had more than one payment transaction in the source, the destination must show the same number of payment records with matching amounts.
A random sample of 200 is not a substitute for full-count reconciliation on totals, but it catches relational errors that aggregate totals hide. Relational errors cluster in a small number of order patterns, split payments, partial refunds, multi-currency orders, and guest checkouts, so sample deliberately across those patterns rather than purely at random.
The Sign-Off Workflow
Validation ends with a document, not a conversation. The sign-off should record the checks run, the tolerance applied, each result, the accepted variances with reasons, the approver's name, and the date.
Watch out: do not let the same person who built the import script sign off on reconciliation.
For how to benchmark performance and conversion after the switch, see our guide on post migration performance benchmarking.
Retention, Privacy, and Security for Historical Order Data
Historical order data is personal data, and in Slovenia it falls under the GDPR as implemented nationally, supervised by the Information Commissioner of the Republic of Slovenia (Informacijski pooblaščenec). During a migration, two obligations matter most: knowing why you keep each category of order data and for how long, and keeping that data secure in transit between systems.
Retention: Separate the Categories Before You Set a Policy
Order data is not one retention category. It is several, and they carry different rules and different justifications. Before you decide what to migrate versus archive, split your data into at least these buckets:
- Invoicing and accounting records. Invoicing records are subject to statutory retention periods set by national accounting and tax legislation, not by the ecommerce platform. Confirm current periods with a qualified accountant or tax adviser before setting your archive policy.
- Order and transaction records needed to honour customer rights. Returns, warranties, and complaints can arrive long after an order is placed, so order records often need to be retained beyond the point where marketing data can be deleted.
- Marketing preferences and consent records. These have their own lifecycle and should not be bundled into the order archive. If a customer withdraws consent, the consent record and the order record need to be handled separately.
The practical output of this exercise is a short retention schedule: one line per data category, stating the retention period, the legal or operational basis, and the owner. That schedule is what you point to if the Information Commissioner or a customer asks why a record is still held.
Security During the Move
Exports sitting on a laptop or shared drive are the single most common exposure point in a migration: the data is complete, portable, and often handled by people focused on the import rather than the risk.
- Encrypt exports at rest and in transit, and store them in a controlled environment rather than on individual devices.
- Restrict access to named individuals on both the business and migration-partner side, and log who accessed what.
- Use the minimum dataset needed for each stage, do not export full customer records to test a line-item mapping.
Watch out: the pre-migration backup is itself a copy of personal data. Teams often create it for safety and then leave it in place indefinitely with no owner and no retention decision.
What Customers Can See After the Move
Retention and privacy are not only back-office concerns. Customers expect to log in after a migration and see their past orders, invoices, and tracking. If guest orders are not linked to accounts, or historical orders are archived read-only rather than imported, support tickets will follow.
For the regulatory framework itself, refer to the Information Commissioner of the Republic of Slovenia and the official GDPR text on EUR-Lex. Verify legal details with qualified local advisers before finalising your retention schedule.
Planning Your Order History Migration with Conversion Design
The planning phase is where most of the risk is removed. If you are mapping fields and planning a cutover, our Shopify migration service covers moving products, customers, order history, and 301 redirects without downtime. If you want the full project structure, start with the Shopify Plus agency migration checklist, which covers data mapping, SEO, UAT, and cutover planning.
A migration partner should be able to state, in writing, what will be reconciled and what will be signed off before go-live.
Preserving order history is not a data-entry task; it is a reconciliation project with a clear owner, agreed acceptance criteria, and a tested rollback plan. If you are planning a migration and want an independent read on your data model before you export anything, Conversion Design offers a free audit.
Frequently Asked Questions
Can historical orders be migrated to Shopify?
Yes, though Shopify does not import orders through its standard admin. Historical orders are brought in with a dedicated order import app or a custom API-based migration. The practical decision is scope: import full order history for customers who still buy from you, and keep the rest in a searchable archive. Either way, preserve the original order number, customer link, line items, payment and fulfillment records, and status so support and accounting can still answer questions about old purchases.
How do you verify order data after a store migration?
Run ecommerce migration data validation against record counts and money. Compare the number of orders, customers, and line items in the source export with what landed in Shopify. Then reconcile order totals, tax, shipping, and refunds, not just order counts, and spot-check a sample across each status and payment method. Agree acceptance criteria before cutover, for example zero missing orders and totals matching to the cent, so the migration is signed off on evidence rather than a quick look.
Should historical orders be imported into the new store or kept in an archive?
Both approaches work, and the choice depends on how often customers and support need the data. Importing orders keeps everything in one place and lets customers see past purchases in their account, but it adds migration effort and can slow the admin if the volume is large. A searchable archive is cheaper and faster, but support has to check two systems. Many brands import the last two to three years and archive the rest, with a clear record of where the older data lives.
What should you do with orders placed during an ecommerce migration?
Freeze the source store for new orders before the final data sync, then export the delta of anything placed after your main export. Orders placed during cutover are the most common source of duplicates and missing records. Plan a short maintenance window, redirect traffic to the new store, and re-run the delta import before you open checkout. After go-live, reconcile the first day of orders against payment provider records to confirm nothing was lost between the two systems.



