Shopify

Shopify ERP Integration: The Data Mapping and Sync Plan Most Projects Skip

The connector is the easy part. This is the data mapping, sync rules and test plan that make a Shopify ERP integration reliable from day one.

Shopify erp integration the data mapping and sync plan most projects skip
On this page
  1. Why Shopify ERP integration projects go wrong
  2. Step 1: decide who owns each type of data
  3. Step 2: map fields, including the awkward ones
  4. Step 3: set sync timing per object
  5. Step 4: choose the integration approach
  6. Step 5: plan for failure
  7. Step 6: test with real edge cases
  8. Connector limits to check before you sign
  9. Who does what on an integration project
  10. Timeline and budget
  11. After go-live
  12. Frequently asked questions
  13. The short version

A Shopify ERP integration usually fails in week three after go-live, not on launch day. Orders flow, stock syncs, everyone relaxes. Then a partial refund arrives, a bundle sells, a customer changes their address after ordering, or the ERP goes down for maintenance on a Friday night. Nobody decided what should happen in those cases, so the integration guesses. Finance spends the next month reconciling.

Choosing a connector gets most of the attention in a Shopify ERP integration. In our experience it’s the smaller decision. The bigger one is the plan behind it: which system owns each piece of data, how each field maps, how often each object syncs, and what happens when something fails. This guide walks through that plan object by object, with a mapping template and the test cases we run before any integration goes live.

Key takeaways – Decide the source of truth for every data type (products, prices, stock, customers, orders, refunds) before choosing a connector. – Map fields one by one, including the awkward ones: taxes, discounts, shipping lines, bundles, gift cards and partial refunds. – Set sync timing per object. Stock and orders need near real time; product content can sync daily. – Plan failures explicitly: retries, a dead-letter queue, alerts and a daily reconciliation report. – Test with real edge cases, not only a happy-path order.

Why Shopify ERP integration projects go wrong

Shopify ERP integration projects usually go wrong because data ownership and edge cases were never agreed, not because the technology failed. Both systems are capable. The trouble starts when they disagree.

Common symptoms:

  • Overselling because Shopify and the ERP both adjust stock, and their numbers drift.
  • Price mismatches when marketing edits a price in Shopify while the ERP pushes its own price overnight.
  • Duplicate customers in the ERP because one person checked out as a guest twice with different capitalisation in their email.
  • Unreconciled payouts because Shopify fees, refunds and gift cards were never mapped to accounts.
  • Silent failures where an order fails to post, nobody is alerted, and it ships a week late.

Each one is a planning problem. The rest of this guide is the plan.

Step 1: decide who owns each type of data

Every data type needs exactly one owner: the system where it’s created and corrected. The other system receives it and doesn’t edit it.

Data type Usual owner Direction Notes
Product master data (SKU, cost, weight, tax class) ERP or PIM ERP to Shopify Shopify keeps marketing content
Marketing content (descriptions, images, SEO) Shopify or PIM Stays in Shopify Don’t let the ERP overwrite it
Prices ERP for B2B; often Shopify for D2C Depends Agree one owner per price list
Stock levels ERP or WMS ERP to Shopify Shopify reserves stock at order time
Customers Shopify for D2C; ERP for B2B accounts Both, with rules Match on email or customer number
Orders Shopify Shopify to ERP ERP returns status and tracking
Fulfilment and tracking ERP, WMS or 3PL To Shopify Triggers shipping emails
Refunds and returns Usually Shopify Shopify to ERP Include partial refunds
Payouts and fees Shopify Payments or gateway To ERP or accounting Needed for reconciliation

Write this table for your business and get finance, operations and ecommerce to sign it. It’s the most valuable page in the project.

Step 2: map fields, including the awkward ones

Once ownership is clear, map each field. Most teams do products and orders well and skip the edge cases. Here’s what to cover.

Products and variants

  • SKU as the shared key between systems. Every variant needs a unique SKU.
  • Variant options (size, colour) to ERP item attributes or separate item codes.
  • Weight and dimensions for shipping rates.
  • Tax class or product category for correct tax.
  • Status: what happens in Shopify when the ERP discontinues an item (archive, hide, or keep selling remaining stock).

Orders

Map the header (order number, dates, customer, addresses, currency, channel, market) and every line type:

  • Product lines with SKU, quantity, unit price and line discounts.
  • Order-level discounts and how they’re spread across lines for accounting.
  • Shipping lines with method and cost.
  • Taxes per line and per jurisdiction, as your ERP expects them.
  • Gift cards sold (a liability, not revenue) and gift cards used (a payment method).
  • Bundles: one Shopify line that is several ERP items, or the reverse.
  • Tips, duties and fees if you use them.

Refunds and returns

Partial refunds, refunds of shipping only, restocking or not restocking, exchanges, and refunds to store credit. Each needs an ERP equivalent: a credit note, a return order or a manual journal.

Customers

Matching rules (email, phone, customer number), how guest checkouts are handled, B2B companies and locations, and consent fields for marketing.

Shopify ERP integration data map showing which system owns products, prices, stock, customers, orders and refunds
Agree one owner per data type before mapping a single field.

Step 3: set sync timing per object

Not everything needs to sync instantly. Matching timing to business need keeps the integration simpler and within API limits.

Object Suggested timing Why
Orders to ERP Within minutes, triggered by webhook Fulfilment and stock reservation depend on it
Stock to Shopify Every 5-15 minutes, or on change Prevents overselling
Fulfilment and tracking to Shopify On change Triggers customer emails
Prices Hourly or on change Avoids price mismatches
Product master data Daily or on change Changes less often
Customers (B2B) On change Needed before the buyer orders
Payouts and fees Daily Matches bank settlement

Shopify’s webhooks push changes as they happen, which is lighter than polling. Combine them with a scheduled sweep that catches anything missed, because webhooks can occasionally arrive late or twice.

Step 4: choose the integration approach

With the plan written, choosing the tool is much easier. There are three main approaches.

  • A pre-built connector for your ERP (NetSuite, Microsoft Dynamics 365 Business Central, SAP Business One, Odoo, Acumatica and others have Shopify connectors). Fastest when your processes are standard.
  • An integration platform (iPaaS) such as Celigo, Boomi, MuleSoft or similar, with configurable flows. Good when several systems are involved or rules need tuning.
  • A custom integration built on Shopify’s GraphQL Admin API and your ERP’s API. Right for unusual ERPs, complex rules or very high volumes.

Test any connector against your mapping document, line by line. If it can’t handle partial refunds or bundles the way you need, find out before you sign.

Step 5: plan for failure

Every integration fails sometimes: an API is down, a record has bad data, a rate limit is hit. Good integrations make failure visible and recoverable.

  • Retries with back-off for temporary errors.
  • A dead-letter queue: records that keep failing go to a list someone reviews, instead of disappearing.
  • Idempotency: processing the same order twice must not create two ERP orders.
  • Alerts: email or Slack when error counts rise or a sync falls behind.
  • A daily reconciliation report comparing order counts, revenue, refunds and stock between systems.
  • A runbook: written steps for the five most likely problems and who handles them.

From our team: the reconciliation report is the single feature finance teams thank us for most. It turns “I think the numbers are off” into a specific list of records to fix.

Step 6: test with real edge cases

A happy-path test order proves very little. Before go-live, run test cases like these on a development store connected to an ERP sandbox.

Test plan for a Shopify ERP integration covering orders, refunds, stock, customers and failure scenarios
Test the awkward cases, not just a standard order.
  1. Standard order, single item, card payment.
  2. Order with several lines, an order-level discount and free shipping.
  3. Order paid partly with a gift card.
  4. Bundle order.
  5. Order shipped from two locations.
  6. Partial refund of one line, then a refund of shipping.
  7. Return with restock and exchange for another size.
  8. Address change after ordering.
  9. Guest customer who later creates an account.
  10. B2B order with payment terms.
  11. Stock adjustment in the ERP while the item is in someone’s cart.
  12. ERP unavailable for an hour: do orders queue and post afterwards?

Run each case, check the result in both systems, and record the outcome. Fix, then run the full set again.

Connector limits to check before you sign

Pre-built connectors save a lot of time, but each one makes assumptions about how your business works. Before committing, ask the vendor or your integration partner to show, in a demo with your data, how the connector handles:

  • Partial refunds and refunds without a return. Some connectors only post full refunds, leaving finance to adjust the rest by hand.
  • Order edits after payment. Shopify lets staff add or remove items after an order is placed. Check whether the edit reaches the ERP.
  • Multiple locations. Stock per warehouse, not only a single total, and fulfilment from more than one location per order.
  • Markets and currencies. Orders in several currencies, with the exchange rate the ERP needs.
  • B2B fields. Company, location, purchase order number and payment terms.
  • Custom fields. Order notes, line item properties (such as engraving text) and metafields your fulfilment team relies on.
  • Volume. How the connector behaves on a peak day, such as Black Friday, when order volume may be many times normal.

Anything the connector can’t do needs a workaround: a small custom app, a Shopify Flow workflow or an integration platform step. Price those gaps into the project now, rather than discovering them after launch.

Who does what on an integration project

Integrations touch several teams, and each needs a clear role.

Role Responsibility
Project owner (ecommerce or operations lead) Decisions, priorities, sign-off
Finance lead Account mapping, tax, refunds, payouts, reconciliation rules
Operations or warehouse lead Stock, locations, fulfilment, returns process
ERP administrator or partner ERP configuration, item and customer setup, sandbox
Shopify developer or agency Shopify setup, webhooks, custom fields, testing on a development store
Integration developer Connector or middleware configuration, custom code, monitoring

Small companies often combine roles, which is fine, as long as each responsibility has a named person. The most common delay we see is waiting for a finance decision on how to post discounts or gift cards, so book those workshops early.

Timeline and budget

A focused integration using a pre-built connector with standard processes often takes four to eight weeks, including mapping and testing. Projects with several systems, B2B rules or custom development often take three to six months. These are typical ranges from our projects, not quotes.

The most underestimated costs are internal: finance and operations time for the mapping workshops and testing. Budget for it.

After go-live

For the first month, review the reconciliation report daily and the error queue twice a day. After that, weekly reviews are usually enough. Revisit the mapping whenever you add a payment method, a market, a sales channel or a new fulfilment location, because each one introduces new data the integration may not expect.

Frequently asked questions

How do I integrate Shopify with an ERP?

Decide which system owns each data type, map every field including refunds, taxes and bundles, set sync timing per object, then choose a pre-built connector, an integration platform or a custom integration. Test edge cases on a development store with an ERP sandbox before going live.

Which system should own inventory, Shopify or the ERP?

In most growing businesses the ERP or warehouse system owns stock levels and pushes them to Shopify, because purchasing, transfers and other channels live there. Small stores without an ERP usually let Shopify own inventory. Only one system should own stock.

How often should Shopify sync with an ERP?

Orders should reach the ERP within minutes and stock should update every 5 to 15 minutes or on change. Tracking should sync on change, prices hourly or on change, product master data daily and payouts daily. Match timing to business need.

What is the hardest part of a Shopify ERP integration?

The hardest part is usually agreeing data ownership and mapping edge cases such as partial refunds, gift cards, bundles, multi-location fulfilment and taxes. The connector itself is rarely the main problem once those decisions are written down.

How long does a Shopify ERP integration take?

A standard integration with a pre-built connector often takes four to eight weeks including mapping and testing. Projects with several systems, B2B rules or custom development often take three to six months.

The short version

Write the ownership table first, then the field map, then the timing plan, then the failure plan. Only then pick a connector, and test it against your own edge cases. A Shopify ERP integration built this way is boring after launch, which is exactly what finance and operations want from it.

Written by Sunny Goyal

Co-Founder & Business Development Director, Bytecode Technologies

Sunny helps brands plan and build Shopify stores, custom portals and AI solutions. He writes about what works on real client projects.

Connect on LinkedIn

Let's connect

Got a project in mind?

Tell us what you're building. We'll come back with the right stack, a realistic budget and a timeline from kick-off to launch. Free, and no obligation.

You have unsaved changes. Do you really want to close?