<- Back to the blog
Guide2026-12-02 - 5 min

Ecommerce and ERP integration: stock and order checks

A data worksheet and five test scenarios with expected results to verify stock and order synchronisation.

Editorial illustration — Ecommerce and ERP integration: stock and order checks
In this guide
  1. Prepare the worksheet before choosing a connector
  2. Physical stock is not the same as sellable stock
  3. Test the scenarios that can break the workflow
  4. Reconcile identifiers as well as totals
  5. Agree when to activate and when to stop

By Matteo Dosi, E-ROE. Published on 2 December 2026.

Before connecting an ecommerce shop to an ERP or business management system, decide which system controls sellable stock, when a unit is reserved and how an order already received is recognised. Then test concurrent sales, repeated deliveries, cancellations, returns and outages. Seeing one order appear in the ERP is not enough to show that the workflow is reliable.

Prepare a data worksheet and a test record shared by the shop team, warehouse contact and integration provider. This guide focuses on stock and the order lifecycle. For customer records and commercial work, read our custom CRM guide; for the broader method, use our guide to custom software acceptance testing.

The cover shows a real product page from the authorised Il Peso delle Parole project archive. It is not evidence that this shop is connected to an ERP.

Prepare the worksheet before choosing a connector

Give every product and variant a stable code recognised by both systems. A product name is not a reliable key: names can change and several variants may share one. Record the unit of measure and warehouse location too. A pack and an individual item are different quantities.

Fields to complete for each stock and order flow
FieldDecision to record
SKU, variant, locationCode in each system, any conversion and the person confirming it.
Authoritative systemWhere this value is edited and which systems only read it.
Physical and sellable stockMeaning of each field, reservations, unavailable units and incoming stock.
Frequency and maximum delayWhat triggers an update, how old data may become and what happens beyond the agreed limit.
Order and statusStable identifier, source channel, import trigger and permitted transitions.
Error and recoveryWho receives alerts, where the queue is visible and how missing records are reconciled.

Do not let both systems freely edit the same value: the latest update may erase a valid decision. If the ERP owns stock, a manual adjustment in the shop needs an explicit rule rather than becoming a competing source.

Physical stock is not the same as sellable stock

An item can be on a shelf but already committed to an order, reserved for another channel or held for inspection. Shopify’s inventory-state documentation distinguishes these conditions from available stock. Other systems may use different names and transitions. Verify the mapping rather than copying a column called “quantity”.

For example, 10 physical units with 3 committed and 2 unavailable may leave 5 available, if those categories do not overlap and the system uses that rule. This is a calculation to verify, not a universal formula. Do not subtract reservations again if the available field already excludes them. Keep incoming stock separate until the agreed receiving process makes it sellable.

Choose the update frequency according to the shop’s risk. A shorter interval alone cannot eliminate simultaneous sales of the last unit. Decide who reserves stock and when. If channels cannot share immediate reservations, consider channel allocations or a safety buffer and explicitly accept their limitations.

Test the scenarios that can break the workflow

Use a test environment with identifiable test products and orders, without real charges, shipments or fiscal documents. Record starting data, action, expected result, observed result, evidence and defect owner for each scenario.

  1. Last unit on two channels. Start with one available unit and attempt two concurrent purchases. At most one available unit should be fulfilled; the second attempt must follow the agreed rule without two incompatible delivery promises. If that cannot be achieved, revise the reservation policy before activation.
  2. Order sent again. Send the same order identifier twice and repeat after a simulated interruption. There must be one business order and one stock commitment. Shopify’s webhook delivery documentation confirms that notifications can repeat; the workflow needs to recognise them.
  3. Cancellation. Cancel before preparation and check that the reservation is released only once. Separately test a cancellation after shipment: it must not make physically absent goods immediately available again.
  4. Return. Open a return, then simulate receipt and inspection. Opening the request must not automatically make an item sellable before it arrives. Also check the outcome for a damaged item.
  5. Connection unavailable. Pause the test service while an order arrives. The record must remain recoverable and visible to its owner. After recovery, check for missing or duplicate orders and correct sequencing, without an older update overwriting a newer state.

Reconcile identifiers as well as totals

Compare the shop’s order identifiers with those imported into the ERP for the same channel and period. Look for missing orders, duplicates and inconsistent quantities by SKU and location. Matching totals can hide one missing order and one imported twice. Track the last successful stock update too: an apparently correct but stale value can still cause problems.

Name someone to monitor errors and someone authorised to fix the integration. The warehouse confirms physical movements; the technical contact checks the exchange; the commercial owner decides what customers see and how they are informed. Do not leave a stalled queue to be discovered through a customer call.

Agree when to activate and when to stop

Begin with a controlled set only after critical tests pass, mappings are approved, delay thresholds are agreed and reconciliation and stop procedures are ready. Decide who authorises expansion and how orders received during an outage will be handled. Manual recovery needs a record and must not trigger a second automated import.

Discuss your ecommerce and ERP connection. Bring the systems involved, a few sample SKUs and the current order journey so we can start with the actual workflow before choosing tools or development.

Follow E-ROE on Google too

Find our content useful? Add E-ROE to your preferred sources to find us more easily on Google.

Continue reading

Other useful articles.

Editorial illustration — Italian and English websites: pages, URLs and updates
Showcase websites4 min

Italian and English websites: pages, URLs and updates

A page-pair map and practical checks to keep the Italian and English versions of a business website consistent.

Read more
Editorial illustration — Website redesign: prepare your URL map
Showcase websites4 min

Website redesign: prepare your URL map

A decision table for each existing page, helping your redesign retain useful content and visitor paths.

Read more
Editorial illustration — Projects on a showcase website: how to present real work
Showcase websites8 min

Projects on a showcase website: how to present real work

Choose projects you may publish, explain the decisions behind them and connect real evidence to your services without inventing results.

Read more
Next step

Ecommerce and ERP integration: stock and order checks

A data worksheet and five test scenarios with expected results to verify stock and order synchronisation.

No commitment. Matteo answers you personally within a working day.
Ask for advice