Check it out
Connecting your online store to an ERP: getting stock, prices and orders right
Your online store receives orders while your ERP handles part of the administration and logistics. Connecting them sounds like a matter of transferring data. Until stock has already been reserved, a customer has a special price or one order ships in two parts. Those are the arrangements I would define before building an ERP integration.

A good integration keeps the same order understandable in both systems. That requires knowing what each field means, when it changes and who acts if something is wrong. Start with a real order journey, from choosing a product to delivery and a possible return.
Which stock may the store actually sell?
Suppose there are ten units in the warehouse and six have already been reserved. Which number should appear in the store? Ten is the physical stock, but not necessarily the amount still available to sell. This is a general example; the correct calculation depends on your inventory process.
Agree how reservations, damaged items, multiple warehouses and incoming deliveries affect available stock. Also decide what the store does when an update is delayed. Can customers keep ordering, does it show a lead time or is the product temporarily unavailable?
A stock update every minute is only useful if it suits the process and is technically feasible. Set a concrete requirement instead: how far may an update lag behind, and what happens during that interval?
Do both systems recognise the same item?
Check how products and variants are matched. A product name is usually an unreliable basis: it can change and may not be unique. Use an agreed product or variant identifier and establish who maintains it.
Pay particular attention to units. Does the store sell a box while the ERP counts individual pieces? The conversion must be defined. The same applies to bundles and variants configured differently in the two systems.
Product descriptions and brand stories do not automatically need to come from the ERP. Deliberately distinguish data needed for sales and logistics from content that explains a product.
Which price should the customer actually pay?
A straightforward store may need just one selling price. A B2B online store may also involve customer agreements, volume pricing or restricted product ranges. Agree where those rules are maintained and when the store receives or requests the appropriate price.
Then test the complete amount. Do currency, tax, discounts, shipping and rounding agree? What happens if a customer's price is missing or an agreement changes while items remain in their basket? Choose a deliberate response instead of silently using an arbitrary default price.
Do not only compare the price on the product page. Check the order confirmation and the order as it arrives in the ERP too.
When does a store purchase become an ERP order?
An order being created, a payment succeeding and an order becoming ready for fulfilment are different events. Decide which event starts the transfer. This may differ by payment method, for example when customers buy on account.
Also define which statuses return to the store: partially shipped, cancelled or return received, for example. If one order leaves in two parcels, the first shipping notification should not incorrectly mark the entire order complete.
Protect processing against duplicate messages. Shopify's webhook delivery documentation explains that the same event can be delivered more than once. A repeated message must not create another order or adjust stock twice.
Our article about building an API integration covers the general technology behind error handling and retries. For your store, the important thing is to define the business outcome associated with each status.
Test a difficult order before launch
Build a small set of test orders that reflects your products and way of working. A useful trial might include:
- A product with limited stock purchased just after another order.
- A variant sold by the box but counted differently in the ERP.
- A customer with an agreed price, plus an order discount and shipping costs.
- A paid order placed during a temporary integration outage.
- An order that is partially shipped and later partially returned.
For each trial, check stock, the total amount and status in both systems. Record who sees a discrepancy and how they resolve it. A notification that data was sent does not prove the order was processed correctly.
Keep discrepancies visible after launch
Give your team visibility into orders still waiting to be processed and data that is out of date. Also compare orders and amounts between the systems at agreed intervals. This helps identify errors that did not trigger a technical failure message.
At BORING, we view an online store and its integrations as parts of the same sales process. Tell us how orders currently move through your organisation. We can determine which data needs to move with them and what the ERP integration must support.




