uriroig
← Blog

Guides26 November 2026 · 7 min read

Sync stock between your shop and online store

How to sync stock between your physical shop and online store so you never sell what you do not have: integrated POS, connector or ERP integration. Steps.

URUri Roiguriroig.es
Man taking a box from a shelf in a warehouse-style shop
📷 nenad53 · CC BY 2.0 · Flickr
UR

I build websites, custom software, apps and AI automations for businesses.

  • ✓Fixed-price quote
  • ✓Reply within 24h
  • ✓No commitment
Get a free quote→
In this article
  1. The problem: two shops, one stockroom
  2. The three options
  3. How syncing works
  4. Steps to sync your stock
  5. Common mistakes
  6. Frequently asked questions
  7. Summary

To sync stock between a physical shop and an online store, both have to deduct units from the same inventory, and a single system has to be in charge of that inventory. There are three ways to do it: a point of sale (POS) that already includes the online store, a connector between your POS or ERP and the shop platform, or a bespoke integration. The right choice depends on how many products and channels you have and what you already use.

This guide explains the problem, compares the three options, describes how syncing works under the bonnet and sets out the steps to do it without nasty surprises.

The problem: two shops, one stockroom

When the in-store POS and the online store each keep their own stock, the same things always happen:

  • Double sales: the last unit sells over the counter and, before anyone updates it, someone buys it on the website. You have to call the customer, cancel and refund.
  • False stock-outs: the website says "out of stock" for something on the shelf, because nobody uploaded the restock.
  • Manual work: someone checks sales and adjusts quantities by hand every day, making mistakes.
  • Figures that do not add up: you do not know how much you sell per channel or what to reorder.

If you also sell on marketplaces or have several shops, the problem multiplies.

The three options

1. POS with an integrated online store

Some systems include the POS and the online store in the same product, with a single inventory. For example, Shopify has its own POS (Shopify POS) that works on the shop's inventory; according to its documentation, you need to check how locations are set up so the shop and the website share stock.

  • Advantages: there is nothing to sync because there is only one inventory.
  • Limitations: you change your POS or your online store, or both. If your current POS does things the new one does not (scales, complex sizes and colours, several price lists), you lose them.

2. Connector between your POS or ERP and the online store

Many POS and ERP systems have connectors, their own or third-party, for WooCommerce, PrestaShop or Shopify. The connector reads sales on each side and updates stock on the other.

  • Advantages: you keep your software and it is quick to set up if the connector exists and covers your case.
  • Limitations: it does what it does. Check how often it syncs, whether it handles variants, bundles and returns, what happens when it fails and who supports you. A badly configured connector gives a false sense that everything is in sync.

3. Bespoke integration with the ERP

The connection between your ERP or POS and the online store is built through their APIs, following your rules.

  • Advantages: it fits how you work: several warehouses, stock reserved for the website, bundled products, marketplaces. And you can add alerts when something fails to sync.
  • Limitations: a larger upfront investment and someone to maintain it when the APIs change.

We explain it in detail in connecting your online shop to your ERP and, if you also want your CRM and accounting to share data, in integrations between programs.

POS with integrated store Connector Bespoke integration
Change software Yes, at least one No No
Set-up Quick Quick if the connector covers your case Needs analysis and development
Your own rules (reservations, several warehouses) The product's The connector's Whatever you need
Error alerts The product's Depends on the connector Designed to fit
Suits Shops starting out or changing system Standard catalogues and processes Several channels, warehouses or your own rules

What affects the cost

We do not give figures because they depend on each case, but these things drive the quote:

  • Whether a connector exists for your software and how much it covers.
  • Number of products, variants and warehouses.
  • Number of channels: shop, website, marketplaces.
  • Quality of your current data (SKUs and barcodes).
  • Special rules: reservations, bundles, safety stock.
  • Support and maintenance.

How syncing works

Who is in charge

First, decide the source of truth for stock. It is nearly always the ERP or the warehouse POS, because that is where purchases, goods received and stock counts are recorded. The online store receives quantities and reports its sales, but stock is never adjusted by hand there.

Real time or batches

  • Real time (or nearly): every sale, in store or online, updates the other channel's stock within seconds, usually via automatic notifications (webhooks) or API calls. This is what you need if you have few units per product.
  • Batches: stock syncs at intervals, for example every 15 minutes or every hour. It is simpler and usually enough with plenty of stock, but between syncs a double sale can still happen.

A common mix: sales in real time and a full sync of the whole catalogue every night to correct discrepancies.

Reservations and safety stock

  • Reserve on order: an online purchase deducts stock as soon as payment is confirmed, even if the parcel is packed the next day. That way the counter does not sell that unit.
  • Safety stock: the website shows a few units fewer than you really have for products with little room for error. If two are left, the website might show one or none.
  • Returns and cancellations: these must put the unit back into stock, on the right channel, and only if the product can be resold.

The key: a shared reference

Syncing works by SKU or barcode. If the same product has one code in the POS and another on the website, or the variants do not match, no system can pair them. Reviewing and unifying references is often half the work.

Steps to sync your stock

  1. List your systems: POS, online store, ERP, marketplaces and spreadsheets that touch stock.
  2. Decide which system is in charge of stock, prices and products.
  3. Unify SKUs and barcodes, including variants.
  4. Choose the option: integrated POS, connector or bespoke integration.
  5. Define the rules: frequency, reservations, safety stock, returns and what to do when something fails.
  6. Do a physical stock count just before going live so you start from real quantities.
  7. Test with a handful of products and deliberately sell on both channels to check everything matches.
  8. Switch on alerts for sync errors and review them daily for the first few weeks.

Common mistakes

  • Two systems in charge. If stock is adjusted in the POS and on the website at the same time, they overwrite each other.
  • Different references on each channel, or variants without their own SKU.
  • Ignoring orders waiting to be packed. An online sale must reserve the unit from the moment it is paid.
  • Syncing only once a day for products with few units.
  • Not monitoring errors. A sync that fails silently is worse than none, because you trust false data.
  • Forgetting returns and transfers between shops.
  • Going live without a physical count and syncing quantities that were already wrong.

For how to approach connecting software in general, see our guide to systems integration.

Frequently asked questions

Can I sync PrestaShop stock with my in-store POS?

Yes, if the POS has a PrestaShop connector or an API, or with a bespoke integration. PrestaShop has a web service (API) that lets you read and update quantities. Check that the connection handles combinations (sizes, colours) properly.

Does syncing have to be in real time?

Not always. With plenty of stock per product, every few minutes is usually enough. With one-off items or few units, real time with a reservation at payment is advisable.

Which system should be in charge of stock?

The one that records goods received and stock counts, usually the ERP or the POS. The online store should only report its sales.

Do I have to change my POS to sync stock?

Not necessarily. If your POS has an API or a connector, it can be connected to the online store. Switching to a system with an integrated POS and store is another option, but not the only one.

What happens if the connection drops?

A good integration stores pending changes, retries them and alerts you if it cannot. That is why a regular full sync to correct discrepancies is a good idea.

Summary

  • Both shops must deduct from the same inventory, and one system is in charge.
  • Three options: POS with integrated store, connector or bespoke integration.
  • Choose real time or batches depending on units per product; reserve stock at payment.
  • Unify SKUs and barcodes before connecting.
  • Monitor errors: a sync that fails silently misleads you.

Do you sell in store and online and your stock never adds up? Tell us which software you use and we will tell you whether a connector is enough or you need an integration, with a fixed quote.

What do manual tasks cost you?FreeWork out in a minute the hours and money you lose each year and what you could win back.
Share itLinkedInWhatsAppX
UR

Written by

Uri Roig

Technical consultant and developer with more than 10 years of programming. I help small businesses grow their revenue with websites, custom software, apps and AI automation, from Matadepera (Barcelona).

+34 662 23 19 83 · WhatsApp

Keep reading

Free quote · reply within 24h

Tell me about your case

Tell us what you need and within 24h you'll have a fixed-price estimate. No commitment.

Step 2 of 2

Your details

By submitting you agree that we may contact you about your request. See privacy.