E-COMMERCE

Inventory automation: how to avoid selling items that are out of stock

How to tie product availability to real stock records so you never sell what is gone: variants, reservations, data age, and reconciliation.

4 min readBy Artem Kotsar

A customer picks a product on the website and pays, and only then does the manager find out the size is gone. If a store sells through several channels or works with suppliers, this gap can appear even when the spreadsheet is updated daily. Inventory automation ties product availability to the real state of your records. First you need to agree on how much stock can be promised to a customer and who is responsible for that figure being accurate.

When a process needs automation

Start by reviewing cancelled orders. Separate a supplier being out of stock from a wrong SKU, a delayed update, or a double reservation. Each cause needs different rules. Variants matter in particular: a single SKU for a model with no size or colour makes it impossible to match the product correctly. For dropshipping, supplier data shows availability at the moment of export and does not guarantee a reservation on its own.

Recommended workflow

01. One identifier

Map every combination of product, size, and colour to the supplier's record. Keep the mapping table separate from the storefront name. Send any unknown variant for review, so a similar-looking name never becomes a reason to update someone else's stock.

02. Available quantity

Separate physical stock, reserved stock, and the quantity available for sale. Record the moment a reservation is created and released. If the supplier already sends available quantity net of reservations, subtracting them again will distort the result.

03. Freshness of updates

Store both the time the data was received and the time it was applied. Set an acceptable export age for each product group. If the data is stale, switch to an agreed mode: manual order confirmation or a temporary sales limit.

04. Confirming the result

After an update, check the actual value in the store. Delivering the same export twice must not deduct the stock twice. A separate reconciliation will catch changes the system did not receive or could not apply.

Handling exceptions

Simultaneous orders

For the last unit of a product, the availability check and the reservation must work as one consistent operation. A simple check before payment leaves a window in which two customers see the same stock. If the system does not support an atomic reservation, use a queue and manual confirmation for disputed orders.

Source errors

A zero quantity, an empty field, and an unavailable supplier must mean different states. Zeroing the whole storefront because of a connection error creates a new problem. Limit the volume of suspicious updates and keep previous values for investigation.

The first pilot

Pick one supplier and a small category with clear variants. First compare the calculation with your current process without writing anything to the store. Then switch on updates for the chosen products. Test the last unit, an order cancellation, a late export, and a repeated event. Widen the scope once discrepancies are fixed, not after the first successful run.

Checking the result

Compare the same process and a comparable workload before and after the pilot. Set target values based on your own starting point.

Cancellations due to stock

The share of confirmed orders cancelled specifically because availability was wrong.

Data age

The time between a source update and the value appearing on the storefront.

Discrepancies

The number of variants where the records and the store differ during reconciliation.

Manual checks

Manager time spent confirming availability for a comparable volume of orders.

Frequently asked questions

Can stock be updated once a day?

It depends on sales speed and supplier terms. Define the acceptable cancellation risk and data age. For fast-moving items, a daily export can leave too long a period of uncertainty.

Do we need a new CRM right away?

First check what your current store and stock source can already do. Replacing a system is justified if it removes a specific limitation in reservations, identifiers, or data intake. Nexora Digital Systems helps design such a process around your systems and working rules. In the first conversation we can set the pilot's scope, the process owner, and how the result will be checked.

Sources

The documentation describes quantity tracking by product and storage location, as well as inventory states.

Sources checked on 04.10.2026. The implementation order and pilot in this article are Nexora's recommendations and need adapting to your systems. The examples are not results from client projects.

If a process runs through a CRM, spreadsheets, email, Telegram, finance, or several departments, it can be broken down into an architecture that shows exactly where automation will create a real effect. Describe one problem process and we will show you what data is needed to evaluate it and what a target system could look like.

Read next

© Nexora Digital Systems. All blog articles are original copyrighted material. Copying, reprinting, or publishing them in full or in part without written permission is prohibited. Short quotations are allowed only with an active link to the original article.