B2B eCommerce ERP integration connects your online store to your ERP, so trade prices, customer terms and stock come from the ERP and orders reach it without anyone re-keying them. There are four ways to connect the two: a ready-made integration, an integration platform (iPaaS), a custom build on an API, or CSV files moved by hand. The right one depends on which ERP you run, how often your prices change and who will own the connection.
Quick summary
- Prices, customer terms and stock flow from the ERP to the store. Orders reach the ERP, usually through your store's existing ERP connector.
- A ready-made integration is quickest, if one exists for your ERP.
- An iPaaS such as Patchworks or Zynk covers ERPs without one, NetSuite for example.
- Build on the API when you need live prices or your own workflow.
- Decide which system owns each record before you connect anything.
- Test with two or three customers, then fix sync errors before you add the rest.
How does a B2B eCommerce ERP integration work?
The integration moves data between your ERP and your store. Your ERP holds trade pricing and customer terms. Your store shows them to buyers and takes their orders. Without that link, your team re-keys orders and updates price lists by hand, and stock counts lag behind, so buyers order items you no longer have.
One B2B order passes through five steps:
- The ERP sends the buyer's terms. Their price list and credit terms reach the store.
- The buyer orders. They log in and order at those prices.
- The order reaches the ERP. Usually through your store's existing ERP connector.
- The ERP processes it. The ERP or warehouse system fulfils it and updates the status.
- The buyer checks progress. They see the latest status in their account.
This is the direction each type of data moves in a fully connected setup:
| Data | Moves from | Moves to |
|---|---|---|
| Trade pricing | ERP | Store |
| Customer terms and credit limits | ERP | Store |
| Stock levels | ERP or warehouse system | Store |
| Orders | Store | ERP |
| Order status | ERP or warehouse system | Store |
The four ways to integrate your ERP
There are four ways to set up the integration.
1. Ready-made integration
A ready-made integration is a connector built for one specific ERP. Brightpearl and Cin7 Core both have one with SparkLayer. It syncs prices, and for most ERPs customers, every one to four hours. Orders reach the ERP through your store's own integration with it. If your ERP has a ready-made integration, you can connect without custom development.
2. iPaaS
An iPaaS (integration platform as a service) is middleware. It sits between your ERP and your store and maps the data between them. Patchworks, Zynk and Versori are three examples. Robert Welch used Patchworks to connect its ERP, Khaos Control, to its Shopify store, with customer-specific pricing fed directly from the ERP. Choose an iPaaS when you want a platform or partner to own the integration code.
3. API integration
An API is the interface two systems use to exchange data. Your developers connect your ERP to your store through their APIs. Stock and pricing can sync live, and slower-changing data can sync on a schedule. With SparkLayer's API, your ERP can send pricing in, or ask SparkLayer for the live price of a particular product for a particular customer. The ERP can also push order status back. Choose this route when you need control over the workflow.
4. CSV transfer
A CSV transfer is the simplest method. Someone exports a file from the ERP and uploads it to the store. Integration agency Knotted Commerce lists manual CSV upload as one of the ways to connect an ERP and a store in its guest post for us. It works for a handful of price lists, but every upload is a chance for a manual error.
Comparing the four ways to integrate your ERP
The four differ most in who does the work and how fast data moves.
| Method | Who builds and runs it | How data syncs | Best when | SparkLayer plan |
|---|---|---|---|---|
| Ready-made integration | SparkLayer builds it. You switch it on. | On a schedule | There's one for your ERP | Pro or Enterprise |
| iPaaS | A platform or partner owns the integration code | Live or on a schedule, through the API | Your ERP has no ready-made integration | Pro or Enterprise |
| API integration | Your developers or agency | Live or on a schedule | You need live prices or your own workflow | Pro or Enterprise |
| CSV transfer | Someone on your team, by hand | Whenever someone uploads | A few price lists that rarely change | Every plan (Basic allows 3 price lists) |
What an ERP integration syncs
Customers and accounts
In SparkLayer's ERP integrations, the ERP is the master record for B2B customers, and data flows one way, from the ERP into your store. With Brightpearl, you tag a contact to import it. Company details and credit limits sync from Brightpearl, and new tagged contacts get a pending account and an invitation email to activate it.
Pricing and catalogues
Your price lists live in the ERP. Brightpearl sends non-cost price lists with tiered price breaks, and Cin7 Core sends price tiers. Tiered prices work like this: one unit costs $10, and at ten units each costs $8.
SparkLayer imports each list, and you assign it to a customer group. Customer discounts sit on top of the price list, and the B2B Discount Engine adds promotions from the Starter plan. Minimum order values and pack sizes are set in SparkLayer for each customer group. Products stay in your store, and B2B Catalogs, free on every plan for Shopify stores, control which ones each customer group sees.
Orders and stock
Orders placed through SparkLayer reach most ERPs through the integration your store already has with the ERP. The B2B prices set in the ERP show on the order, and your warehouse team sees it in their usual system.
B2B buyers see the same stock levels as your store, so whatever updates your store's stock updates SparkLayer too. To send stock from another system, use SparkLayer's API. Through the API, your ERP or warehouse system can also send order updates back, so buyers see the latest status in their account.
Invoices and payments
Many B2B orders are paid by invoice on net terms such as net 30. Your accounting system tracks each invoice and what the buyer still owes.
SparkLayer's Xero integration creates a Xero invoice for each order paid by invoice or on account, when the order reaches processing or, if you choose, as each shipment is fulfilled. The QuickBooks Online integration does the same in QuickBooks. Buyers can download their invoices from their account. With payment visibility on, payments recorded in Xero show on the SparkLayer order.
SparkLayer's ready-made ERP integrations
SparkLayer has ready-made integrations with Brightpearl, Cin7 Core (formerly DEAR), Katana, Linnworks and Unleashed, plus Xero and QuickBooks Online for accounting. They connect directly, so you need no middleware. In all five ERP integrations, data flows one way, from the ERP into SparkLayer.
| ERP | Brings into SparkLayer | Orders | Syncs | Platforms |
|---|---|---|---|---|
| Brightpearl | B2B customers and price lists | Reach Brightpearl through your store's own integration | Every 3 hours | Shopify |
| Cin7 Core | Customers (with contacts) and price tiers | Reach Cin7 Core through your store's own integration | Every hour | Shopify |
| Katana | B2B customers and price lists | Not sent to Katana by SparkLayer | Every 4 hours | Shopify |
| Linnworks | B2B prices only. Customers stay on your platform. | Reach Linnworks through your store's own integration | Every hour | Every platform |
| Unleashed | Customers, price tiers and discounts | Reach Unleashed through your store's own integration | Every 4 hours | Shopify |
The ready-made integrations and the API need the Pro plan ($299 a month) or Enterprise (from $499). An iPaaS connects through the API, so it needs one of those plans too. Enterprise adds technical scoping and direct ERP and backend systems integration. The full details for each ERP are in the help centre.
ERPs without a ready-made integration
ERPs without a ready-made integration connect through an iPaaS or the API. NetSuite can connect through Patchworks, and Sage 50, Sage 200 and Sage Intacct through Zynk. For other ERPs, such as Sage X3 at Ennis Fabrics, SparkLayer's Enterprise team builds the integration.
What this looks like in practice
Ennis Fabrics, a wholesale textile business, integrated its Sage X3 ERP with SparkLayer. It now runs more than 6,000 custom price lists across three currencies. Some customer groups are assigned up to 12 price lists at once, which its previous platforms and partners couldn't provide.
"SparkLayer has provided a well-thought-out and efficient solution for our complex business. With our unique requirements, it was difficult to find a partner who understood our needs and had the ability to create the user experience we needed."
Jackson Rinne, Digital Marketing Specialist, Ennis FabricsSpecialised Welding used to manage hundreds of customer-specific price lists by hand. Its setup now integrates with its ERP to synchronise pricing, stock and orders, and updates that took an hour each day now take a couple of hours each week.
Common challenges and how to prevent them
| Challenge | What goes wrong | How to prevent it |
|---|---|---|
| Formatting mismatches | Each system holds data in its own format. Knotted Commerce calls data synchronisation one of the most significant hurdles in ERP integration. | Match SKUs across systems before you switch anything on. Xero's line-item mapping, for example, needs every SKU to exist as a Xero item. |
| Data accuracy after migration | Errors from moving data into a new ERP carry into your store. | Cleanse and map the data in the ERP, then test. The store receives whatever the ERP holds. |
| Delays between syncs | Between scheduled syncs, the store shows the ERP's last known prices. | Match sync speed to how often your prices change. Use the API or an iPaaS for live pricing. |
| Sync errors | Gaps in the data, such as a missing default address, stop a customer syncing. | Start with two or three tagged customers. Fix what SparkLayer's sync errors list shows, at the source. |
| Complexity at scale | High order volumes and complex data structures make consistency harder to keep. | Test with your largest accounts' price lists and orders before launch. |
| Security and compliance | Every integration point is a place where data can be exposed. | Ask each vendor where data is hosted and how it's encrypted. Knotted names GDPR and PCI-DSS among the rules to follow. |
| Buy-in across teams | An integration spans sales, finance and operations, not just IT. | Decide where each record gets edited before you connect anything. |
Buy-in matters because ERP projects overall carry real risk. Gartner predicts that by 2027, more than 70% of recently implemented ERP initiatives will fail to fully meet their original business goals. It names technology-centric approaches that ignore stakeholder engagement as a cause.
SparkLayer shows you what failed. When customers don't sync, a banner on the Customers screen counts them, and Show errors lists each customer and the problem. Fix the customer where you manage them (your ERP, for ERP-managed customers), then wait for the next sync. The Brightpearl integration also emails customer sync errors. SparkLayer holds customer data in Google Cloud's London region, encrypted in transit and at rest. If you use an iPaaS, ask what monitoring and alerts it offers.
Setting up an integration: Brightpearl as an example
Before you connect, decide which system owns each record. With Brightpearl, Brightpearl owns customer data, so you edit customers there. Addresses flow one way, from Brightpearl into your store, and Brightpearl's default address serves as both shipping and billing address.
Then connect it in this order:
- Get an approved Brightpearl account. You also need the Pro or Enterprise plan and a Shopify store.
- Connect Brightpearl in SparkLayer. Under Integrations › Partners, enter your Brightpearl account ID and authorise.
- Create a contact tag. Create a tag in Brightpearl, such as "SparkLayer UK", and enter the same tag in SparkLayer.
- Set up your price lists. Create non-cost price lists in Brightpearl, with their price breaks.
- Tag two or three contacts first. Wait for the next sync (every 3 hours), then check their details and customer group in SparkLayer.
- Tag the rest. For a sub-group such as VIP, add a tag like "SparkLayer UK - VIP" in Brightpearl and a matching customer group in SparkLayer.
The Brightpearl help guide covers the rest.
If you also connect Xero, settle these points first:
- Contact creation is off by default. With it off, every order needs a matching contact already in Xero.
- Contact matching uses the account number, then email. Give each contact a unique account number if several share an email.
- Invoice timing for Pay on Account orders: on order, or on shipment for split shipments.
- Line-item mapping only if every SKU already exists as a Xero item.
- Credit limits are set in SparkLayer, because Xero credit limits don't sync.
The Xero help guide has the full settings.
FAQs
What data syncs between an ERP and your store?
Customer and price data flows from your ERP to your store, and orders flow back. In SparkLayer's ready-made integrations, orders reach the ERP through the integration your store already has with it (Katana is the exception: SparkLayer doesn't send orders to it). Xero and QuickBooks Online receive invoices, and Xero payments come back to the order. Through the API, your ERP or warehouse system can also send order status back.
Does SparkLayer sync stock from my ERP?
Yes, through your store. B2B buyers see the same stock levels as your store, so if your ERP already updates your store, they see those numbers. The API can send stock from another system.
What is the difference between an ERP integration and an accounting integration?
An ERP runs operations such as inventory and order management, and some ERPs, such as Brightpearl, also cover financial management. An ERP integration brings your ERP's data into your store. An accounting integration sends invoices to software like Xero or QuickBooks Online. If your accounts live in separate software, you connect that as well.
Which ERPs does SparkLayer connect to?
SparkLayer has ready-made integrations for Brightpearl, Cin7 Core (formerly DEAR), Katana, Linnworks and Unleashed, plus Xero and QuickBooks Online for accounting. They need the Pro or Enterprise plan and, except Linnworks, a Shopify store. NetSuite can connect through Patchworks, and Sage 50, 200 and Intacct through Zynk. Other ERPs can use an iPaaS or the API, and Enterprise covers custom integrations. Our guide to the best Shopify ERP integration solutions compares the main ERPs.
How long does an ERP integration take?
It depends on the route. Connecting the Brightpearl integration takes minutes and needs no code. You then tag customers and set up price lists in your ERP, which takes longer if the data needs cleaning first. Versori says teams can build and deploy multi-system workflows in days, not months. On Enterprise, SparkLayer's team scopes and connects backend systems as part of onboarding.
Do I need a developer to connect my ERP?
Not for a ready-made integration, which you switch on in the SparkLayer dashboard. Patchworks offers a low-code connector builder, and an integration partner can own the connection for you. A custom build against the API needs a developer or an agency.
Make your store and your ERP work together
If your ERP is Brightpearl, Cin7 Core, Katana, Linnworks or Unleashed, you can connect it to your store today without middleware. If it isn't, an iPaaS or the API gets you there, and the Enterprise team can scope it with you.
Try Pro free for 14 days, with no credit card required, or book a demo to talk through your ERP.
6,000+