How to Choose an ERP Integration Strategy for Shopify
7 July 2025 · 3 min read
Every brand I've worked with that does more than a few hundred orders a day has the same question: how should we connect our ERP to Shopify?
The answer depends on what you're syncing, how often, and how much you can tolerate things being out of step. There's no universal best practice here — just trade-offs.
The three common approaches
Direct API integration. Your ERP talks to Shopify's APIs (or vice versa) without anything in between. This works if you have a simple, one-directional data flow — say, orders going from Shopify to your ERP. It falls apart once you have multiple data types flowing in both directions with transformation requirements.
Middleware platform. Tools like Celigo, MuleSoft, or a custom-built integration layer sit between Shopify and your ERP. They handle mapping, transformation, error handling, and retry logic. This is the approach I recommend for most mid-market brands.
iPaaS or pre-built connector. Solutions like Patchworks or Pipe17 offer pre-configured connectors for common ERP and ecommerce combinations. They're faster to deploy but less flexible if your requirements don't fit the standard patterns.
What actually matters in the decision
Data complexity
If your product catalogue has straightforward SKUs with fixed pricing, a pre-built connector will probably do the job. If you have configurable products, customer-specific pricing tiers, complex tax rules, or multi-currency requirements, you'll need a middleware layer that can handle transformation logic.
I worked with a brand running SAP Business One alongside Shopify Plus across four markets. The pricing logic alone — base price, currency conversion, customer group discount, promotional override — required a dedicated transformation service. No pre-built connector handled that without significant customisation.
Sync frequency
Real-time versus scheduled batch processing is a bigger decision than most people realise. Real-time stock sync sounds ideal, but it means every inventory movement in your warehouse triggers an API call to Shopify. At scale, you'll hit rate limits. You'll also create a system where a warehouse outage immediately affects your storefront.
For most brands, a stock sync every five to fifteen minutes is sufficient. It reduces API load, provides a buffer against upstream failures, and is dramatically simpler to build and maintain.
Order export is different. Customers expect prompt fulfilment, so orders should flow to the ERP within minutes, not hours. A webhook-triggered flow with a queue and retry mechanism handles this well.
Error handling
This is where most ERP integrations fail quietly. A record fails to sync. There's no alert. Nobody notices until a customer complains or the finance team finds a discrepancy.
Whatever approach you choose, you need visibility into: which records synced, which failed, and why. A dead letter queue for failed records, structured logging, and alerting on error rates are non-negotiable — I cover this and other common pitfalls in five integration mistakes ecommerce brands keep making. I've seen businesses lose tens of thousands of pounds because a stock sync failed silently over a bank holiday weekend.
My recommendation for most brands
Start with a middleware layer. It doesn't need to be enterprise software. A well-structured Node.js or Laravel application with a message queue (SQS, Redis, or even a database-backed queue) handles the requirements for most businesses doing up to £20M online.
Keep your data flows documented. For each data type — products, inventory, pricing, orders, customers, fulfilment — document the source of truth, the sync direction, the frequency, and the error handling approach. This document becomes the single most valuable artefact in your integration architecture. If product data is a significant part of your sync, my piece on PIM integration patterns for Shopify covers that workflow in detail.
Build idempotent sync operations. If a stock update runs twice, the result should be the same. If an order export retries, it shouldn't create a duplicate. Idempotency sounds academic, but it's the thing that stops your integration from creating chaos when something inevitably goes wrong.
The right ERP integration strategy is the one you can monitor, debug, and extend as your business changes. Optimise for maintainability over cleverness.
Need help with this?
If you're working on something related and could use an extra pair of hands, I'm available for project work. No obligation — just a conversation.
Get in touch →