Home / Insights / Business Operations and Integration

Business Operations and Integration

Omnichannel Inventory Sync: Keeping Stock Accurate across Stores, Marketplaces and Warehouses

Overselling, phantom stock and manual spreadsheet fixes usually come from one design gap: nobody decided which system owns each stock number. This guide sets out the architecture choices, sync patterns and operating controls that keep inventory consistent across every channel.

TopicsBusiness Operations and IntegrationWeb and SaaS Development

Key takeaways

  • Decide one system of record per stock figure (on hand, available to sell, in transit) before choosing tools; most overselling traces back to two systems both believing they own the same number.
  • Channels do not all mean the same thing by ‘available’. Shopify, Amazon FBA and Google local inventory each model stock states differently, so map states explicitly rather than copying a single quantity everywhere.
  • Event-driven updates with a scheduled full reconciliation are the practical default: events keep channels fresh, reconciliation catches the updates that were lost.
  • Channel buffers and allocation rules are business decisions, not technical ones. Agree them with operations and review them against oversell and stock-out data.
  • Roll out channel by channel, starting with the one where overselling hurts most, and measure oversells, cancellations and reconciliation drift from week one.

Most retailers start with one channel and one stock number. Then a second store opens, a marketplace account goes live, a third-party warehouse takes over fulfilment, and the business finds itself selling the same unit in four places. The symptoms are familiar: orders cancelled because the item was already gone, products shown as out of stock while pallets sit in the warehouse, and a member of staff who spends every Monday reconciling spreadsheets.

This article is for operations leads, ecommerce managers and CTOs at retailers and brands that sell through more than one channel and are deciding how to fix stock accuracy properly. I will cover how to choose the system that owns each stock figure, which synchronisation patterns hold up, how buffers and allocation work, what a sensible implementation plan looks like and where the costs and risks sit. It draws on the integration work our team does for retail and ecommerce clients, where inventory sync between storefronts, ERP and warehouse systems is a recurring requirement.

Why stock numbers drift apart across channels

Inventory errors in multichannel retail are rarely caused by a single bug. They come from a combination of structural issues that compound as channels are added.

Several systems think they own the number

A point-of-sale system decrements stock when a till sale happens. The ecommerce platform decrements it when an online order is placed. The warehouse management system (WMS) adjusts it after a cycle count. If each of these writes an absolute quantity to the others, the last write wins and earlier changes are silently overwritten. This is the most common root cause we see.

Channels model stock differently

Platforms do not share a definition of ‘available’. Shopify’s inventory model, for example, separates quantities into states such as incoming, on hand, available, committed and reserved; when an order is placed it moves units from available to committed, and on-hand stock is the sum of the physical states at a location, according to Shopify’s developer documentation on inventory management. Amazon’s FBA Inventory API reports stock in Amazon’s network as fulfillable, inbound, reserved, unfulfillable and ‘researching’ for misplaced or damaged units, as described in the Selling Partner API documentation. Pushing one number to both without mapping these states guarantees mismatches.

Latency and lost updates

Even with good intent, updates travel through queues, webhooks and batch jobs that can be delayed or dropped. Shopify’s documentation notes, for instance, that changes to some unavailable states (such as committed or reserved) do not trigger inventory webhooks. An integration that relies only on webhooks will miss those movements unless it also polls or reconciles.

Identifiers that do not line up

A product might be a SKU in the ERP, a variant ID in Shopify, an ASIN on Amazon and a GTIN on the shelf. GS1 describes its barcodes as the way retailers and manufacturers identify products as they move through supply chains, which is why a clean mapping between internal SKUs and GTINs matters (GS1 barcode standards). Without that mapping table, a sync job cannot reliably say which unit it is updating.

Action: before any tooling decision, list every system that reads or writes stock and record, for each one, what it writes, when and in which unit of identity.

Which system should own each stock figure?

The core design decision is the system of record. In practice there is rarely one answer for all figures; there is one owner per figure.

Stock figureTypical ownerWhy
Physical on-hand quantity per warehouseWMS or 3PL systemIt sees receipts, picks, counts and damages first
Physical on-hand per storePOS or store inventory moduleTill sales and store counts happen there
Stock in transit and purchase ordersERPPurchasing and transfers are planned there
Available to sell per channelOrder management system (OMS) or inventory hubIt combines physical stock, open orders, buffers and allocation rules
Marketplace-held stock (for example FBA)The marketplaceYou cannot directly change stock held in someone else’s network

Three common architectures

  1. Platform as hub. The ecommerce platform (often Shopify or WooCommerce) acts as the inventory master and other channels connect to it through apps. Simple and cheap for a small number of locations; strained once you have several warehouses or complex allocation.
  2. ERP as hub. The ERP owns available-to-sell and pushes it to channels. Good financial control, but ERPs are often batch-oriented and slow to publish changes, which creates oversell windows during busy periods.
  3. Dedicated OMS or inventory service. A specialist OMS, or a custom inventory service, sits between physical systems and channels. It computes available-to-sell in near real time and applies rules. Highest flexibility, highest integration effort.

For example, a fashion brand with two shops, a Shopify site and an Amazon account fulfilled by FBA might keep Shopify as the hub for its own stock and treat FBA stock as a separate pool that Amazon owns. Once the same brand adds a 3PL, wholesale and a second marketplace, the case for an OMS or a custom inventory service becomes much stronger. That example is illustrative; the tipping point depends on order volume, number of locations and how complex your allocation rules are.

Action: write down the owner of each figure in a one-page ‘inventory contract’ and get operations, finance and the ecommerce team to sign it off.

Sync patterns: events, polling and reconciliation

Once ownership is clear, the next question is how changes travel. There are three building blocks and most robust designs use all three.

Event-driven deltas

The owner publishes a change event, such as ‘two units of SKU X picked at warehouse A’, and subscribers apply it. Sending deltas (adjust by -2) rather than absolute values (set to 14) avoids overwriting concurrent changes. Shopify’s Admin API supports both: an adjust operation that changes a quantity by a delta and a set operation that writes an exact value, and it allows a reference document URI on these mutations so each change can be traced back to the order, transfer or count that caused it.

Polling

Where a system does not emit events, or emits them unreliably, a scheduled job reads current quantities and compares them. Polling is simpler but adds latency and consumes API quota, so it is usually reserved for systems without webhooks or for slower-moving data.

Scheduled reconciliation

Events get lost. A nightly or hourly job that reads absolute quantities from the system of record, compares them with each channel and corrects differences is the safety net. The key is that reconciliation runs in one direction, from owner to channel, and logs every correction so you can see whether drift is shrinking or growing.

PatternFreshnessFailure modeBest used for
Event-driven deltasSecondsLost or duplicated eventsOrders, picks, receipts
PollingMinutes to hoursRate limits, stale readsSystems without webhooks
Full reconciliationHoursOverwrites legitimate in-flight changes if timed badlyCatching drift, audits

Design details that matter

  • Idempotency. Every event carries a unique ID so applying it twice has no effect.
  • Ordering. Events for the same SKU and location are processed in order, or carry a version so out-of-order events can be detected.
  • Dead-letter handling. Failed updates go to a queue someone actually monitors, not a log file.
  • Reconciliation windows. Run full reconciliation when order volume is low, and skip SKUs with in-flight changes in the last few minutes.

Our article on event-driven APIs, webhooks and async patterns goes deeper into retries, ordering and idempotency.

Buffers, allocation and channel-specific rules

Accurate sync does not remove the need for judgement. Even a well-built integration has a delay between a sale in one channel and the update in another. Buffers and allocation rules manage that risk.

Safety buffers

A buffer holds back a number of units from a channel’s available-to-sell figure. If a marketplace takes several minutes to reflect a change, publishing ‘available minus two’ for fast-moving SKUs reduces oversells at the cost of occasionally showing an item as unavailable when one or two units remain. Some platforms now model this directly; Shopify lists safety stock among its unavailable quantity states.

Allocation

Allocation decides which channel gets which stock when supply is limited. Typical rules include:

  • Reserve a fixed share of a limited product for the brand’s own site, where margin is higher.
  • Expose store stock online only above a threshold, so a single display unit is not sold twice.
  • Exclude damaged or quality-control stock from every channel until it is cleared.
  • Publish stock from the nearest warehouse only for next-day delivery promises.

Store stock and local inventory

If you advertise in-store availability, accuracy at store level becomes customer-facing. Google’s Merchant Center guidance on local inventory recommends submitting all in-store products in a single data file and treats price and availability as part of that local product data (Google Merchant Center Help). Telling shoppers an item is in stock at a branch when it is not erodes trust quickly, so store-level buffers are usually larger than warehouse buffers.

Action: agree buffer and allocation rules with operations as a table of SKU groups, channels and thresholds, and review it monthly against oversell and lost-sale data rather than setting it once.

How to decide what to build, buy or integrate

Retailers usually choose between connector apps, a commercial OMS, an iPaaS or middleware layer, and a custom inventory service. The right answer depends on complexity more than size.

OptionFits whenWatch out for
Marketplace connector appsOne platform hub, a few channels, simple rulesOpaque sync logic, limited reconciliation reporting
Commercial OMSSeveral warehouses and channels, standard allocation needsLicence cost, fit with your ERP and WMS, customisation limits
iPaaS or middlewareMany systems, an internal team that can own flowsLogic spread across many flows becomes hard to reason about
Custom inventory serviceUnusual allocation, B2B and B2C mixed, strict latency needsYou own the code, monitoring and on-call

Questions that settle the choice

  1. How many stock locations and channels do you have now, and in 18 months?
  2. Do you need rules beyond ‘publish available stock’, such as reservations, bundles or kits?
  3. Can your ERP publish changes in near real time, or only in batches?
  4. Who will own the integration after launch: an internal team, the vendor or a partner?
  5. What does an oversell cost you in cancellations, marketplace penalties and customer service time?

If your ERP is part of the picture, our guide to integrating with SAP, Odoo and NetSuite covers APIs, middleware and the pitfalls to plan for.

An implementation plan that limits disruption

Inventory projects touch live trading, so the rollout needs to be staged. A plan we would typically propose looks like this.

  1. Map and clean identifiers. Build the SKU, variant, marketplace ID and GTIN mapping table. Fix duplicates and orphaned listings first; sync cannot be more accurate than the identifiers underneath it.
  2. Baseline the current error rate. Measure oversells, stock-related cancellations and the size of manual adjustments for four weeks before changing anything, so you can prove improvement.
  3. Build the inventory contract into code. Implement the owner rules, delta events and reconciliation job. Log every change with its source and reference.
  4. Run in shadow mode. Compute available-to-sell in the new service and compare it with what channels currently show, without publishing. Investigate every significant difference.
  5. Switch one channel. Start with the channel where overselling is most expensive, often a marketplace with cancellation penalties. Keep the old process available for rollback.
  6. Add channels and rules. Bring in further channels, then introduce buffers and allocation rules once the basic flow is stable.
  7. Operationalise. Put dashboards for drift, failed events and oversells in front of operations, with clear owners for each alert.

What to monitor from week one

  • Oversell count and rate per channel.
  • Reconciliation corrections per day and their total unit value.
  • Event processing lag (time from source change to channel update).
  • Dead-letter queue size and age.
  • Stock-outs on items the WMS shows as available.

In PoliteTech’s own work on commerce products, including our AI Shopper Simulation app for Shopify, the lesson that carries over is that platform APIs, scopes and rate limits shape the design as much as business rules do, so prototype the riskiest API calls early.

Risks, costs and a readiness checklist

Where the cost sits

The largest costs are usually not the sync code itself but identifier clean-up, testing against real channel behaviour and the operational change of moving staff away from manual fixes. Licence costs for an OMS or iPaaS, and API usage limits on marketplaces, also need budgeting. We do not quote generic figures because scope varies widely; a credible estimate should list assumptions about channels, locations, order volume and rules.

Main risks

  • Rate limits during peaks. Sale events generate bursts of updates exactly when APIs are under most pressure. Batch where the API allows and prioritise fast-moving SKUs.
  • Hidden state changes. As noted above, not every quantity change emits an event. Reconciliation must cover those states.
  • Marketplace-owned stock. You cannot correct FBA quantities yourself; treat them as read-only inputs and reconcile against Amazon’s reports.
  • Bundles and kits. A bundle’s availability depends on its components. Model it as derived stock, never as a separately counted item.
  • Returns. Returned items should pass through an inspection state before becoming available again, or you will resell damaged stock.

Readiness checklist

  • Every stock figure has a named system of record and a business owner.
  • SKU-to-channel identifier mapping is complete and deduplicated.
  • Stock states are mapped per channel (available, committed, reserved, inbound, unsellable).
  • Updates are deltas with unique IDs; absolute writes happen only in reconciliation.
  • Reconciliation runs on a schedule and its corrections are reported.
  • Buffers and allocation rules are documented and reviewed monthly.
  • Oversell, drift and lag metrics have a baseline and a dashboard.
  • A rollback plan exists for each channel switched over.

Frequently asked questions

Can we fix overselling just by syncing more often?

Rarely on its own. Faster sync shrinks the window, but if two systems both write absolute quantities, or identifiers do not match, overselling continues. Fix ownership and identifiers first, then tune frequency and add buffers for fast-moving items.

Should our ERP or our ecommerce platform be the inventory master?

It depends on what each system sees first and how quickly it can publish. Warehouses and stores usually own physical counts, while available-to-sell is best computed by whichever system can combine stock, open orders and rules in near real time. For many mid-sized retailers that is an OMS or inventory service rather than the ERP.

How do we handle stock held by Amazon FBA or another marketplace warehouse?

Treat it as a separate pool that the marketplace owns. Read it through the marketplace’s inventory API or reports, reconcile it against your records, and do not try to publish the same units to other channels.

What does a realistic first phase look like?

Identifier clean-up, a baseline of current errors, the inventory service or connector configured for owner rules and reconciliation, and one channel switched over in shadow mode then live. Further channels and allocation rules follow once that is stable.

How do we know the new setup is working?

Compare oversells, stock-related cancellations, reconciliation corrections and event lag against the baseline you measured before the change. Drift that shrinks week on week is the clearest signal.

Sources and methodology

Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.

  1. Shopify Developers: Manage inventory quantities and states — accessed 9 November 2026. Shopify’s inventory states, how orders move stock from available to committed, delta versus set mutations, reference document URIs and which changes do not trigger webhooks.
  2. Shopify Developers: InventoryLevel object (GraphQL Admin API) — accessed 9 November 2026. Quantities are held per inventory item per location.
  3. Amazon Selling Partner API: FBA Inventory API — accessed 9 November 2026. How Amazon reports fulfillable, inbound, reserved, unfulfillable and researching stock in its fulfilment network.
  4. Google Merchant Center Help: local product data for local inventory ads and free local listings — accessed 9 November 2026. Recommendation to submit in-store products in a single data file, and attributes such as price and availability for local listings.
  5. GS1: Barcodes standards — accessed 9 November 2026. Role of GS1 barcodes and GTINs in identifying products through supply chains.

Is your stock data the same in every channel you sell through?

We can review how your storefronts, marketplaces, ERP and warehouse systems exchange stock today and propose an inventory sync design with clear ownership and reconciliation.