Somewhere in your stack, there is a job that runs at 2:00 a.m.
It exports yesterday's inventory counts from the warehouse system. By 3:00, the storefront has imported them. So has the marketplace. So has the in-store pickup app. Everyone is synchronized. Everyone is current.
And then, for the next 23 hours, everyone is wrong.
A customer buys two units at 9:40 a.m. A warehouse recount finds three phantom units at noon. A return restocks a unit at 4:15 p.m. None of it reaches a storefront until tomorrow at 3:00 a.m., because in a batch-synced world, the truth moves on a schedule no matter what actually happened to the stock today.
This is the old way. In this blog, I'll cover what it costs, what the alternative looks like and how to retire the batch job. In short, KIBO keeps one inventory record for every product and location and updates it the moment an inventory event happens.
Key Takeaways
- Batch sync moves counts on a schedule. Nightly or hourly, so every channel sells against a snapshot that ages by the hour. Event-driven inventory updates the record the moment stock is claimed or released.
- The staleness window is the oversell window. Every unit sold between syncs is sold against an aging number, and the oversell is not discovered until someone tries to pick the order.
- Corrections move at batch speed too. Recounts, damage write-offs and early receipts keep selling wrong until the next cycle runs.
- Humans become the sync layer. Padded counts, manual takedowns and held-back stock convert oversell risk into undersells: real units nobody can buy.
- The KIBO way is one inventory record per product-location, read live by every channel through the Real-Time Inventory Service. Status flips instantly, quantities refresh in near real time, and there is nothing to reconcile.
- Retiring the batch job is incremental. Consolidate to one record, let order events drive allocation and deallocation, then phase out the scheduled jobs.
What's the Difference Between Batch and Real-Time Inventory Sync?
Batch inventory sync moves counts on a schedule, nightly or hourly, so every channel sells against a snapshot that ages by the hour. Event-driven inventory updates the record the moment stock is claimed or released. An order allocates units. A cancellation or a return releases them.
The real question is not "how often do we sync?" It is "how stale is the number a shopper is buying against?"
Same day, two architectures. The batch storefront stays on the 3:00 a.m. count while the event-driven record updates with each event.
The Old Way: Nightly Batch Syncs
The architecture is familiar because it is everywhere. The warehouse or ERP system is the master record of on-hand counts. A scheduled job exports those counts, and each selling channel imports them and displays the result. The inventory data is only as fresh as the last cycle.
Three things follow from that design:
- The staleness window is the oversell window. Every unit sold between syncs is sold against an aging number. If two channels sell the same unit at 10:02 and 10:11, the system has no way to know, because the export that would have caught it does not run until 2:00 a.m. The oversell is not discovered until someone tries to pick the order.
- Corrections move at batch speed too. A recount that fixes phantom inventory, a damage write-off, a receipt that landed early: none of it reaches the storefront until the next cycle. The bad number keeps selling for hours.
- Humans become the sync layer. This is the part that does not show up in any architecture diagram. Operations teams compensate for staleness by hand. They pad the counts ("tell the storefront we have 10 when we really have 14"), take listings down manually during spikes and hold stock back "just in case." Each workaround converts an oversell risk into an undersell: real units, invisible to shoppers, silently unsold.
The KIBO Way: Event-Driven Inventory
In KIBO, there is one inventory record per product and location, the single source of truth for that UPC at that node. That record does not wait for a schedule. It changes when inventory events happen:
- An order is placed: units move to allocated
- An order is canceled: units are deallocated and return to the sellable pool
- A return is received and restocked: on-hand goes up
The storefront does not import a copy of that record. It reads it directly through the Real-Time Inventory Service, a dedicated service built for the traffic of search results, category pages and product pages. When a product goes out of stock, the storefront status flips instantaneously. Displayed quantities refresh in near real time. Every channel reads the same live record the order management system writes to, so there is no copy to drift and nothing to reconcile.
The warehouse system still matters. Physical receipts, recounts and adjustments still flow in from your WMS or ERP. The difference is what they are: corrections to the on-hand count, not the scheduled courier of sellable truth to each channel. (For the broader architecture argument, see our post on event-driven commerce.)
Batch vs. Real-Time Inventory Sync, Side by Side
| Nightly batch sync | Event-driven inventory (the KIBO way) | |
| What updates the count | A scheduled export/import job | Inventory events: allocation, deallocation, restock |
| Staleness window | Up to a full sync cycle (hours) | In-stock/out-of-stock status flips instantly; quantities refresh in near real time |
| Oversell exposure | Every unit sold during the stale window | Only true physical errors (phantom units) |
| Phantom inventory | Sells until the next cycle corrects it | Corrected the moment an adjustment lands |
| The human workaround | Padded counts, manual takedowns, holds | Safety stock set deliberately, per product-location |
| Reconciliation | A recurring meeting | Continuous: every channel reads one record |
| Peak season | Staleness is worst exactly when volume is highest | Each event is processed as it happens |
What Staleness Actually Costs
Run the consequences of the left-hand column for one quarter and the pattern is consistent:
- Cancellations. Oversells during the stale window turn into apology emails. The full cost anatomy of one oversold order (refund fees, service contacts, wasted acquisition, churn) is covered in How to Stop Overselling Across Channels.
- Missed sales nobody counts. Padded counts and held-back stock are undersells. They do not generate tickets, so they do not generate meetings. They just quietly cap your sell-through on exactly the items with demand.
- Firefighting hours. Manual takedowns, recounts and customer service holds are labor spent compensating for architecture.
- Peak compounding. Batch staleness is proportional to order volume, which means your inventory data is least accurate at the exact moment accuracy matters most: Cyber Week, launch drops, promotion days.
The deeper cost is strategic. A business that cannot trust its inventory numbers cannot safely promise delivery dates, cannot offer ship-from-store or in-store pickup confidently, and cannot point every channel at the same stock. Accuracy is the entry fee for every omnichannel capability on the roadmap, an argument we make in full in Inventory Is What Makes or Breaks Your OMS.
How to Retire the Batch Job
If you are running scheduled syncs today, the migration path is less dramatic than it sounds:
- Consolidate to one record per product-location. One authoritative number per UPC per node. Channel orders and warehouse updates both change that same record.
- Let order events drive allocation and deallocation. Stock is claimed when an order is placed and released when it is canceled or restocked, not when the next job runs.
- Reframe your WMS/ERP feed. Physical counts, receipts and adjustments become corrections to on-hand at specific locations, delivered as they happen, not a bulk file the storefront treats as sellable truth.
- Watch the system, not the spreadsheet. KIBO's Supply & Demand view shows on-hand, inbound and committed demand per item and location in real time, so drift is visible the day it appears instead of the day it oversells.
Each step builds on the last. The scheduled jobs go away only after the record and the events are in place.
FAQ
What is event-driven inventory?
Event-driven inventory is a design where the inventory record changes when something happens to the stock, not when a scheduled job runs. An order allocates units, a cancellation deallocates them and a restock raises on-hand. Every channel reads that same live record, so there is no copy to go stale.
What is the staleness window in inventory sync?
The staleness window is the time between a change to the stock and the moment every channel can see it. In a batch-synced setup, that window can run for a full sync cycle, which is why it is also the oversell window. Every unit sold during it is sold against an aging number.
How often should I sync inventory?
Syncing more often shrinks the window but never closes it, because each sync still delivers a copy of the count that starts aging the moment it lands. The better question is how stale the number a shopper is buying against can get. With event-driven inventory there is no schedule to tune. The record changes when the stock does.
Why does batch inventory sync cause overselling?
Because channels sell against a snapshot, not the live count. If two channels sell the same unit between syncs, nothing in the system can catch it until the next export runs, and the oversell is not discovered until someone tries to pick the order. We break down what that costs in How to Stop Overselling Across Channels.
Do I need to replace my WMS or ERP to move off batch sync?
No. Your WMS or ERP still matters. Physical receipts, recounts and adjustments keep flowing in from it, but they arrive as corrections to the on-hand count instead of the scheduled courier of sellable truth to each channel. The migration is incremental: consolidate to one record, let order events drive allocation, then phase out the scheduled jobs.
Can real-time inventory fix phantom inventory?
Not on its own. Phantom inventory is a physical error: the record says one unit and the shelf says zero. Event-driven updates fix latency, not accuracy, so a corrected count reaches every channel the moment an adjustment lands, but a recount or adjustment still has to find the error first. Safety stock is the buffer for the gap in between.
Is "real-time" inventory actually real time?
Be precise about the two layers. In KIBO, in-stock/out-of-stock status updates on the storefront instantly, while displayed quantities refresh in near real time. For commerce purposes, the shopper-facing consequence is the same: a product stops being sellable the moment its stock is claimed.
Do I still need safety stock if updates are event-driven?
Yes. Event-driven updates fix latency, not accuracy, because a synced record of a miscounted shelf is still wrong. Safety stock is the buffer for physical-world error: miscounts, shrinkage and short spikes. Set it deliberately per product-location rather than as a global pad.
Your inventory data should not have a schedule. See how KIBO keeps every channel reading one live record.







