Connecting your online store to your ERP ends overselling, double entry and late refunds. What to sync, which system owns what, and how to keep it reliable.
Most online stores start on their own. Products are added by hand, orders arrive by email, and someone types each one into the ERP. That works for ten orders a day. At a hundred, it breaks: items sell online that are already gone from the warehouse, prices on the website lag behind the price list, refunds take a week because nobody can find the order. Integration fixes this by letting the store and the ERP share the same data automatically.
Which system owns what
The most important decision comes before any code. For each type of record, decide which system is the master. The other system reads it and never edits it. A typical split looks like this:
- Items, prices and stock: owned by the ERP, pushed to the store.
- Product photos, descriptions and SEO content: owned by the store.
- Orders: created in the store, sent to the ERP as sales orders.
- Customers: created at checkout, matched or created in the ERP.
- Delivery status and tracking numbers: owned by the ERP or the courier, pushed back to the store.
- Invoices, refunds and payments: recorded in the ERP, with status sent back to the store.
When two systems can both edit the same price or the same stock figure, they will disagree within a week.
What the flow looks like
A customer places an order on Shopify, WooCommerce or a custom site. Within seconds the order appears in the ERP as a sales order, with the payment recorded against it. Stock is reserved. The warehouse picks and packs from the ERP, the courier label is printed, and the tracking number goes back to the store, which emails the customer. The invoice is created in the ERP with the correct VAT. If the customer returns the item, the return is processed once and both systems update.
ERPNext and Odoo both have connectors for the common platforms, and both offer full APIs for custom stores. Ready-made connectors are a good start for standard flows. Bundles, made-to-order items, several warehouses or marketplace sales on Amazon and Noon usually need some custom logic on top.
Sell only what you have. That single rule is most of the value of integration.
Stock that customers can trust
Overselling is the most visible failure. Fix it with three habits. Push stock from the ERP often, or on every change, not once a night. Publish available stock, meaning stock on hand minus open orders and a small safety buffer, not the raw figure. And if you sell from several warehouses or stores, decide which locations feed the online figure and in what order orders are fulfilled.
Make it reliable, not just connected
Integrations fail quietly. An API is down for an hour, a product code changes, a customer enters an address the courier cannot read. A good integration expects this:
- Every message is logged, with its status: sent, received, failed.
- Failed messages retry automatically, then land in a queue a person can see and fix.
- Each order carries one reference that is the same in the store, the ERP and the courier system.
- Someone is alerted when orders stop flowing, before customers notice.
Where to start
Start with items, stock and orders. Add customers, shipping and refunds once the first flow runs cleanly for a few weeks. Clean your item master first: one code per product and variant, the same code in both systems. NST connects online stores and marketplaces to ERP for retailers and distributors across the UAE and the region, with this order and this rule of ownership.