Shopify Data Migration: Move Products, Orders and Inventory Without Losing Track
Definition
Data migration moves records and their relationships between systems.
Overview
Data Migration moves records and their relationships between systems; a Shopify data migration transfers products, variants (SKUs), location stock, customers and order history into Shopify while preserving links between variants, inventory_item_id, locations and orders. Start with a field map for SKUs/variants, customers and inventory levels, run dry runs in a test store, schedule a short freeze window (hypothetical figure: 2–4 hours), reconcile counts, plan rollback steps, and follow a staged 3PL cutover so live orders and fulfillment never lose sync.
Field Map For SKUs, Variants, Locations, Customers And Orders
Map source fields to Shopify’s product and inventory model before you import. Shopify separates the product (handle/title), variants (SKU, options) and inventory (inventory_item_id + location). Below is a practical field map you can use as a template; adapt names to your source system column headers.
- Handle / Product ID: Map a stable product handle or source product ID to Shopify’s handle to preserve product grouping across variants.
- Title / Body HTML / Vendor / Type: Map descriptive fields so storefront data and collections match expected behavior.
- Option1/2/3 Name & Value: Map variant option names (e.g., Size, Color) and values — Shopify supports up to three options per product.
- Variant SKU: Map your SKU field to Shopify’s Variant SKU. Treat SKU uniqueness as operationally required even if Shopify allows duplicates.
- Variant Barcode / GTIN / UPC: Map barcodes to Variant Barcode for marketplaces and GS1 compliance.
- Variant Price / Compare At Price / Weight: Map pricing and weight for accurate shipping and taxes.
- Variant Inventory Tracker: Set to "shopify" for Shopify-managed inventory or to the 3PL/fulfillment service code if fulfillment will be handled externally.
- Inventory Item Identifier: Preserve or capture inventory_item_id where possible (API imports) because inventory is tracked against inventory_item_id, not variant_id.
- Location Stock: Map source location codes to Shopify Location IDs; for each (inventory_item_id, location_id) pair provide available quantity and incoming transfers.
- Customer Fields: Map customer ID, email, first/last name, addresses (labelled billing/shipping), tags and account status. Keep historical customer IDs to reconcile order ties.
- Order History: Map order number, created_at, line items (handle, variant SKU), quantities, unit price, discounts, taxes, fulfillment status and customer ID. Preserve original order numbers as a reference field; migrating historic orders into live Shopify usually requires the API or a migration app.
Dry Runs And Validation
Run full dry runs using a representative sample (10–20% of SKUs or a curated set of high-volume SKUs). Use a development or staging Shopify store where possible to avoid impacting production. Validate imports end-to-end: product pages, variant selection, inventory per location, customer records and at least one imported order flow (order -> fulfillment).
- Data Sanity Check: Verify counts of SKUs, SKUs with variants, and total inventory per location match source system exports.
- Functional Tests: Place test orders (use test payment gateways or draft orders) and confirm that fulfillment routing and shipping calculations behave as expected.
- API Verification: For inventory-per-location imports use the InventoryLevel API or a supported app and confirm inventory_item_id linkage via the Admin API.
Freeze Windows, Cutover Timing And Practical Steps
Coordinate a freeze window to stop writes to the source system(s) while you perform the final import. The window should be as short as your reconciliation and import throughput allow — common windows are 1–4 hours (hypothetical figure). Communicate the freeze to operations, sales channels and any 3PL partners.
- Pre-freeze Checklist: Complete final full export of products, inventory by location, customers and orders; export logs and critical metadata.
- Freeze: Prevent new orders/receives in source systems and notify support teams. Start the final import immediately.
- Immediate Validation: Run automated reconciliation scripts (see next section) and sample live checks on critical SKUs and top-selling locations.
- Open Window: Only reopen order-taking after you and stakeholders confirm acceptable reconciliation results.
Reconciliation And Acceptance Criteria
Reconcile source vs. Shopify after import at SKU × location granularity and for customer/order linkage. Define acceptance thresholds ahead of time — for example, 100% match on top 1,000 SKUs, and a small allowed delta for long-tail SKUs (hypothetical figures: 0% top-SKU variance, ≤2 units long-tail variance).
- Inventory Reconciliation: Compare source quantity vs Shopify available per (inventory_item_id, location_id) and flag mismatches.
- Order Reconciliation: Verify historic orders map to correct customer IDs and include correct line items. Spot-check payment and tax fields.
- Customer Reconciliation: Confirm primary shipping addresses and email matches for top customers and known accounts.
Rollback And Emergency Procedures
Always export and store a full backup before the final cutover. Your rollback plan should be executable within the freeze window. Rolling back can mean restoring the storefront to read-only, reapplying the source system as the order-of-record, or using a staged import to reapply previous inventory and product data.
- Backups: Full CSV/API exports of products, inventory levels (by location), customers and orders before the cutover.
- Automated Revert Script: Maintain a script or documented API steps to reset inventory quantities and product states to pre-migration values.
- Communication Plan: Predefine who will notify customers, sales channels and 3PLs in case a rollback is required.
3PL Cutover Steps And Outsourcing Evaluation
When a 3PL handles fulfillment, the cutover must synchronize inventory and fulfillment routing. Use Racklify provider discovery to shortlist 3PLs with native Shopify integrations and confirm their capability to consume Shopify fulfillment webhooks and inventory APIs before selecting a partner.
- Integrations: Confirm the 3PL supports Shopify webhooks, the FulfillmentService model, and inventory synchronization (or uses a supported WMS integration).
- Test Fulfillments: Before live cutover, create sample orders and confirm the 3PL receives them and returns fulfillment confirmations.
- Cutover Sequence: (1) Sync inventory balances to 3PL system, (2) set variant Fulfillment Service to the 3PL, (3) perform test orders, (4) enable live fulfillment routing. Pause incoming receipts to old warehouse during the cutover window.
Refer to internal documentation pages such as Shopify Inventory Management: Set Up Locations, Counts and 3PL Sync and Shopify Integrations: How to Connect a 3PL, WMS and Shipping Apps for platform-specific configuration steps.
Shopify Plan Limits, Costs And Product Behavior To Verify
Confirm Shopify limits and costs before planning your import: Shopify enforces limits such as up to 3 options per product and 100 variants per product (verify the current policy on Shopify’s help pages). Inventory-per-location updates often require API or an app; order imports generally need a migration app or API access. Review plan eligibility (Shopify vs Shopify Plus) for access to certain APIs and migration tools — higher tiers and Shopify Plus give more flexibility for large-scale imports and automation.
- Variant Limits: Shopify’s variant limits (e.g., three options, 100 variants per product) affect how you map SKUs to variants; consider splitting complex products into multiple products if necessary.
- Inventory APIs: Large inventories may require paginated API imports and awareness of rate limits; budget for app or developer costs if you exceed CSV import capabilities.
- Costs: Expect app or developer fees for order-history migration and per-API-call costs if using third-party middleware (hypothetical figure: project dev hours 40–120 — label as hypothetical).
In short, the Data Migration to Shopify succeeds when you build a clear field map for SKUs, variants, location stock, customers and orders; validate with dry runs; schedule a tight freeze window; reconcile inventory and orders to defined acceptance criteria; have tested rollback steps; and run a staged 3PL cutover while verifying Shopify limits, plan eligibility and integration behavior ahead of time.
Sources And Additional Reading (5)
- Import products to Shopify using a CSV file
“Import products to Shopify using a CSV file.” Shopify Help Center, https://help.shopify.com/en/manual/products/import-export/import-products.
- Product variants
“Product variants.” Shopify Help Center, https://help.shopify.com/en/manual/products/variants.
- Locations
“Locations.” Shopify Help Center, https://help.shopify.com/en/manual/locations.
- Import customers using a CSV file
“Import customers using a CSV file.” Shopify Help Center, https://help.shopify.com/en/manual/customers/import-customers.
- GTIN (Global Trade Item Number)
“GTIN (Global Trade Item Number).” GS1, https://www.gs1.org/standards/id-keys/gtin.
🔗
Related Terms
6More from this term
All guides about Data Migration
Looking for a 3PL?
Compare warehouses on Racklify and find the right logistics partner for your business.