The Goal
A good ERP integration ensures that you don't transfer orders manually, stock levels are always up-to-date, and invoices are created automatically.
What Is ERP Integration?
ERP integration means that your online shop and your ERP system (Enterprise Resource Planning) exchange data automatically. Instead of transferring orders manually, reconciling stock via Excel, or creating invoices by hand, an interface takes over these tasks.
The goal: a continuous data flow from goods receipt through the order to delivery – without media breaks and without duplicate data maintenance. For small and midsize businesses, this is the foundation for scaling professionally with limited resources.
Typical ERP systems in e-commerce
- • Xentral (cloud ERP for SMEs)
- • SAP Business One
- • Microsoft Dynamics 365
- • Sage 100 / Sage X3
- • DATEV (for accounting integration)
- • Custom industry solutions
1 What Gets Synchronized?
Not every data type needs to flow in both directions. Clearly define which system holds the "truth" for which data:
| Data Type | Typical Direction | Master System |
|---|---|---|
| Orders | Shop → ERP | Shop (creation), ERP (processing) |
| Products | ERP → Shop | ERP |
| Stock Levels | ERP → Shop | ERP |
| Prices | ERP → Shop | ERP |
| Customer Data | Bidirectional | Case-dependent |
| Tracking Numbers | ERP → Shop | ERP/Shipping Carrier |
2 Real-time vs. Interval
Not everything needs to be synchronized in real-time. The right strategy depends on the use case:
Real-time makes sense
- • Orders (customer expects confirmation)
- • Critical stock warnings
- • Status updates (shipping)
Interval is sufficient
- • Stock sync (every 5-15 min)
- • Price changes (daily/hourly)
- • New products (daily)
Caution with stock levels
For high-traffic shops with tight inventory, a 15-minute synchronization can lead to overselling. Real-time sync or at least shorter intervals are worthwhile here.
3 Data Mapping
The biggest challenge: Both systems have different data structures. Clean mapping is crucial.
Typical mapping questions
- Which product number is leading? ERP number, EAN, or shop SKU?
- How are variants represented? Separate products or variant groups?
- How do payment methods match? PayPal in shop = which payment method in ERP?
- How are customer groups/price lists assigned?
Integration Approaches Compared
Not every integration has to be custom-built. There are different approaches with different strengths and weaknesses:
Plugin/connector (e.g. Xentral-Connect)
A ready-made solution that connects shop and ERP directly. Quick to set up, standardized features, but limited customization options.
✓ Ideal for: standard processes, a fast start
Middleware (e.g. n8n, Make, Synqup)
An intermediate layer that connects multiple systems. More flexible than plugins, but requires configuration effort.
✓ Ideal for: complex scenarios, many systems
Custom API integration
Your own development directly against the APIs of both systems. Maximum flexibility, but higher development effort.
✓ Ideal for: special cases, non-standardized ERP systems
Our advice
Start with a standard solution such as Xentral-Connect. Custom extensions can be added later, once concrete requirements emerge.
4 Error Handling
What happens when a synchronization fails? A good integration concept defines clear rules:
Retry Logic
Failed transfers should be automatically retried – with exponentially increasing wait times (1 min, 5 min, 15 min, ...).
Alerting
For critical errors (e.g., order cannot be transferred) someone must be notified immediately.
Logging
Every transfer should be logged. In case of errors, you need details to trace the problem.
Practical Examples From Our Projects
Every ERP integration has its own challenges. Here are three anonymized examples from our work:
Example 1: B2B retailer with customer-specific prices
A wholesaler maintains individual discount tiers for each customer in Xentral. The challenge: these prices must be displayed correctly in the Shopware shop for logged-in customers.
Solution: customer group sync with price list mapping. The shop retrieves the current conditions at every login.
Example 2: Dropshipping with multiple suppliers
A shop sells products from 5 different suppliers. Orders must be forwarded automatically to the right supplier.
Solution: product mapping with supplier assignment. Xentral splits orders automatically and sends supplier orders via EDI.
Example 3: Multichannel with Amazon and eBay
In addition to its own shop, a retailer also sells on Amazon and eBay. All channels have to use the same stock.
Solution: Xentral as the central inventory system. All channels synchronize against Xentral, not directly with each other.
5 Xentral Integration with Shopware
We are a Xentral-Connect Partner and have implemented many Shopware-Xentral integrations. The Xentral-Connect plugin provides a solid foundation that we extend when needed.
What Xentral-Connect does out of the box
- ✓ Order import to Xentral
- ✓ Product sync (bidirectional)
- ✓ Stock synchronization
- ✓ Customer data sync
- ✓ Tracking number feedback
- ✓ Invoice PDF to shop
Checklist: Preparing an ERP Integration
Before you start the technical implementation, you should have clarified these points:
-
Data ownership defined
Which system leads for which data?
-
Sync directions set
Unidirectional or bidirectional for each data type?
-
Intervals/triggers determined
Real time, every 5 minutes, hourly, or daily?
-
Mapping table created
Item numbers, payment methods, shipping methods assigned?
-
Error scenarios thought through
What happens on connection loss, duplicate records, missing required fields?
-
Test data prepared
Representative products, orders, and customers for testing?
-
Contact person named
Who decides on questions about ERP processes?