Key takeaways
- Overselling and wrong stock levels are usually sync problems. The stock exists somewhere, and one system doesn’t know.
- Pick one system that owns stock and one that owns orders. Every other system reads from them.
- Track four numbers per product, not one: on hand, committed, available and incoming. Channels should only ever see available.
- Webhooks alone aren’t enough. Shopify’s own documentation tells developers to add scheduled reconciliation, because delivery and ordering aren’t guaranteed.
- An off-the-shelf tool costs from about $29 to $1,199 a month and is the right choice for standard setups. A custom integration between a store, an ERP and a warehouse costs about $14,000–$24,000 to build in our pricing model.
Ecommerce inventory management means every place you sell shows a quantity you can really ship, and every order reaches the place that ships it, once. With one store and one stockroom that’s easy. It gets hard when you add a second channel, a warehouse system, a 3PL or an ERP, because each of them keeps its own copy of stock and they update at different speeds.
We build these connections for online stores, and most of the problems we’re asked to fix come from the same few design decisions. This guide covers those decisions: who owns the data, which numbers to track, how to keep systems in sync, what the platforms limit, and when to buy a tool or build an integration. For a number on your own setup, our cost calculator has an integration mode.
What bad inventory data costs
The largest study on this is IHL Group’s inventory distortion research. Its 2025 edition, summarised in an infographic by its sponsor Board, puts the worldwide cost at $1.73 trillion a year, or 6.5% of retail sales. About two-thirds of that is sales lost to out-of-stocks, and one-third is markdowns on overstock.
Smaller operations feel it the same way. In inFlow’s 2026 survey of 400 US inventory and operations professionals, 44% said they run out of stock at least once a month, and 85% said they use spreadsheets to track inventory. A 2025 study of 470 marketplace sellers by Sapio Research for ChannelEngine found that sellers spend 36% of their working week on manual tasks such as updating listings, adjusting prices and fixing errors.
Returns add to the load. The National Retail Federation and Happy Returns estimated that 15.8% of US retail sales would be returned in 2025, and 19.3% of online sales. Every return is stock that has to come back into the right number, in the right system, in the right condition.
Four numbers, not one
Most stock problems start with treating inventory as a single number. Each product in each location has at least four:
- On hand: what’s physically there.
- Committed: units promised to orders that haven’t shipped yet.
- Available: what you can still sell. Roughly on hand minus committed, minus anything set aside.
- Incoming: stock on purchase orders or transfers that hasn’t arrived.
Shopify’s developer documentation on inventory states uses the same split and adds reserved, damaged, quality control and safety stock. Your ERP has its own version of the list.
Two more terms matter when you design a sync:
- Safety stock. Microsoft’s supply chain documentation defines it as a quantity you hold to reduce the risk of running out. In a multichannel setup it’s also a buffer against sync delay. If a marketplace takes minutes to accept a stock update, showing two units fewer than you have is cheaper than cancelling an order.
- Available to promise. The quantity you can promise to a customer on a given date, which Microsoft describes as including uncommitted inventory, lead times and planned receipts. This is the number a B2B portal or a pre-order page should show.
The rule that follows: sales channels should receive available, never on hand. If your store shows on hand, every unpaid basket and every unshipped order is a chance to sell the same unit twice.
Decide who owns stock and who owns orders
Before any code or any tool, answer two questions.
Which system owns stock? One system holds the true quantity and every other system gets a copy. If you have a warehouse management system or a 3PL, it usually owns on-hand stock, because that’s where units are counted. If you have an ERP and no separate warehouse system, the ERP owns it. With only a store and a stockroom, the store can own it.
Which system owns the order? Orders are born in a channel and usually move into an ERP or an order management system for fulfilment and invoicing. Decide where an order can be edited after that. If it can be changed in two places, the two copies will disagree within a week.
Write the answers down per field, not per system. A typical split looks like this:
| Data | Owner | Who reads it |
|---|---|---|
| Product names, descriptions, images | Store or PIM | Marketplaces |
| Prices | ERP or store | Store, marketplaces |
| On-hand stock | Warehouse system or ERP | Store, marketplaces |
| Orders | Channel creates, ERP owns after import | Warehouse, accounting |
| Shipment and tracking | Warehouse or carrier | ERP, store, customer |
| Customers | Store or CRM | ERP |
Two-way sync of the same field is where integrations become expensive and fragile. In our pricing model it adds 30 to 60 hours, and most of that goes into deciding what happens when both sides changed. Avoid it wherever one owner will do. Our guide to ecommerce ERP integration goes through this mapping in more detail.
How stock goes out of sync
Knowing the usual causes makes them easier to design out.
The gap between sale and update
A unit sells on one channel and the others still show it until the update arrives. With a sync every 15 minutes, that gap is up to 15 minutes per channel. On a fast-selling product that’s enough to oversell.
Unpaid orders
WooCommerce has a Hold stock setting that keeps products reserved for unpaid orders for a set number of minutes, then cancels the order and releases the stock. Its documentation notes that this applies only to orders in “Pending payment”, not “On hold”. If your payment method leaves orders on hold, such as bank transfer, stock stays reserved until someone acts.
Updates that overwrite each other
Two systems each send “set quantity to 9” based on different starting points, and one sale disappears. Shopify changed its API to prevent this. Its inventorySetQuantities documentation says that from API version 2026-04 each change must include the quantity you expect to be there, and the update is rejected if the stored quantity is different. An idempotency key is also required. An integration written before that change, which just sends absolute numbers, needs rework.
Marketplaces that answer later
Amazon’s Listings Items API confirms that a submission was accepted for processing. Problems found afterwards aren’t in that response. Your integration has to check the result, not assume it.
Things nobody typed in
Damaged stock, samples, a return put back on the wrong shelf, a bundle sold as one item and picked as three. No sync fixes a wrong count. Cycle counts do.
Webhooks, polling and reconciliation
There are two ways for one system to learn that something changed in another. It can ask on a schedule, which is polling. Or it can be told, through a webhook, the moment it happens.
Webhooks are faster and cheaper on API calls, and Shopify recommends them over continuous polling. They also come with rules that surprise people:
- Shopify expects a response within five seconds and retries a failed delivery up to eight times over four hours. If failures continue, the subscription is removed.
- Shopify doesn’t guarantee the order of webhooks, within a topic or across topics for the same resource.
- Shopify says delivery isn’t always guaranteed, and tells developers to run reconciliation jobs that fetch data periodically.
- WooCommerce disables a webhook after more than five consecutive delivery failures. It also has no dedicated stock webhook. In its REST API documentation the product topics are created, updated and deleted, so a stock change arrives as a product update.
So a reliable sync uses both. Webhooks carry changes in near real time. A scheduled job, every hour or every night, compares the two systems and corrects any difference. Receiving a webhook should do one thing: store the event and answer. Processing happens afterwards, from a queue, so a slow ERP never causes a timeout.
Two properties make this safe. The first is idempotency. Stripe’s API documentation explains the idea: with an idempotency key you can repeat a request after a connection error without creating a second object. For you that means an order imported twice still exists once. The second is a log of every message sent and received, with a way to replay a failed one. In our pricing model, a screen for fixing failed syncs adds 30 to 50 hours. It’s the part clients skip most often and miss soonest.
What the platforms limit
Limits decide how a sync is built. Here are the ones that matter most, from each platform’s documentation in November 2026.
| System | Limit | What it means |
|---|---|---|
| Shopify GraphQL Admin API | 100 points a second on standard plans, 200 on Advanced, 1,000 on Plus | Large catalogue updates need bulk operations or queuing |
| Shopify REST Admin API | 2 requests a second on standard plans, 4 on Advanced, 20 on Plus | The REST API is marked legacy; new work should use GraphQL |
| Shopify locations | 10 on Basic, Grow and Advanced, 200 on Plus, per the pricing page | Apps such as a 3PL can count as locations |
| WooCommerce REST API | Batches of up to 100 objects by default | The real limit is your server, so test at volume |
| Amazon Listings Items API | 5 requests a second for a listing update | Fine for changes, slow for a full catalogue |
| Amazon Feeds API | About one feed every two minutes | Use feeds for bulk, not for single changes |
| eBay Inventory API | Up to 25 items per bulk price and quantity call, and 250 revisions per listing per day | A product that changes stock constantly can hit the daily cap |
| NetSuite | 5 concurrent requests on the standard tier, 15 on premium, 20 on enterprise, plus 10 per SuiteCloud Plus licence | Shared between all integrations on the account |
| Business Central online | 6,000 requests per five minutes and 5 concurrent requests per user | Webhook subscriptions expire after three days unless renewed |
| Odoo | External API only on Custom pricing plans | Check your plan before planning an integration |
The ERP is usually the tightest point. A store can take thousands of stock updates a minute. A NetSuite account on the standard tier handles five requests at a time across everything connected to it. That’s why stock usually flows out of the ERP in batches, and why you should ask what else is already using those slots. If you’re choosing a store platform with this in mind, our Shopify vs WooCommerce comparison covers the differences.
Orders: the other half
Stock gets the attention, but orders cause as many problems. An order sync has to handle more than the first import.
- Import once. Use the channel’s order ID as the key in the ERP, so a retry updates the order and never creates a second one.
- Map statuses on paper first. A store has five or six order states and an ERP may have fifteen. Decide which ERP states the customer sees.
- Partial shipments and splits. One order, two parcels, two tracking numbers, perhaps two warehouses. The store has to show both.
- Edits and cancellations. Decide until what point a customer or your team can change an order, and which system the change is made in.
- Returns and refunds. A refund in the store has to become a credit note in accounting, and the unit has to come back into the right stock state. Sellable, damaged and to-be-inspected are different numbers.
- Taxes, discounts and rounding. Totals calculated twice by two systems differ by a cent often enough to block invoices. Send the amounts and don’t recalculate them.
For accounting specifically, our guide to QuickBooks integration covers how orders, payouts and fees should land in the books.
Buy a tool or build an integration
Inventory and order management tools exist because this problem is common. For a standard setup they’re cheaper and faster than anything custom. These are published prices from November 2026:
| Tool | Published price | Notes |
|---|---|---|
| Zoho Inventory | $29 to $249 a month, billed annually | From 500 orders a month and 2 locations up to 15,000 orders and 10 locations |
| Veeqo | Shipping free; inventory from $19 a month | Priced by monthly order volume |
| inFlow | From $129 a month | Lite plan, billed monthly, with 1 location |
| Cin7 Core | $349, $599 or $1,199 a month | 6,000, 24,000 or 120,000 sales orders a year |
| Ordoro | Inventory from $349 a month | Shipping-only plans start free |
| Linnworks | On request | Priced on order volume |
| Brightpearl | On request | Unlimited users included |
When a tool is the right answer
- You sell standard products on common channels: your store, Amazon, eBay, a couple of others.
- Your order volume fits a plan, and the next plan up doesn’t hurt.
- The tool has a ready connector for your accounting or ERP.
- You’re willing to work the way the tool works.
When to build
- Your ERP or warehouse system is older, on-premise or customised, and no tool connects to it.
- Stock rules are your own: bundles and kits, made-to-order items, stock reserved per customer, several warehouses with allocation rules.
- Prices and availability differ per customer, as in B2B.
- A tool would cover 80% of the process and leave your team doing the other 20% by hand, every day.
What building costs
From our pricing model, at a blended $60 an hour plus 20% for project management and testing:
| Scope | Hours | Price | First version |
|---|---|---|---|
| Store to one other system, one direction, on a schedule | 50–80 | $5,000–$6,000 | 2 weeks |
| Store, ERP and warehouse, both directions, in real time, with monitoring and a screen to fix failed syncs | 192–330 | $14,000–$24,000 | 3–4 weeks |
A legacy or on-premise ERP adds 60 to 120 hours. So does a system with no API, where data moves through files or database access. Our write-up of a Merlin ERP and WooCommerce integration shows what that looks like in practice.
Then there’s upkeep. APIs change, as the Shopify inventory example shows, and someone has to watch the queues. We budget 10 to 20 hours a month, about $500 to $1,000.
Compare honestly. Cin7 Core at $599 a month is about $21,600 over three years. A custom integration at $19,000 with $750 a month of upkeep is about $46,000 over the same period. Custom wins only when a tool can’t do the job, or when the manual work around the tool costs more than the difference. For many stores it doesn’t, and we’ll tell you so.
How to roll it out
- Write the ownership table: one owner per field.
- Count your stock before you connect anything. A sync spreads wrong numbers faster.
- Start with one direction and one channel. Stock from the owner to the store is usually first.
- Run the new sync next to the old process for a week or two and compare the numbers daily.
- Set a buffer on fast sellers and on slow channels, then lower it once you trust the sync.
- Add order import, then shipment updates, then returns.
- Turn on alerts for failed messages and a daily reconciliation report before you call it finished.
- Add the next channel only after the first one has run for a month without manual corrections.
When not to integrate yet
- You have one store, one stockroom and a few orders a day. The store’s built-in stock management is enough.
- Your stock counts are unreliable. Fix receiving and counting first.
- You’re about to replace the ERP or the store platform. Integrate after the move, not before.
- The process itself is unclear. If two people would answer “who can cancel an order?” differently, software won’t settle it.
If you’re past those points, tell us which systems you run and where the numbers go wrong. We’ll tell you whether a tool will do or what a custom integration would cost, with a fixed quote. You can read more about our API integration services or get in touch.




