Modules catalog

Online store and warehouse integration: what to synchronise and when

Online store and warehouse integration: what to synchronise and when

Online store and warehouse integration must connect the full order lifecycle, not merely two stock tables: product publication, availability check, reservation, picking, dispatch, cancellation and return. If a site receives only a total quantity once a day, it can still sell an item already reserved by a sales manager or held for inspection.

A reliable design begins by naming the owner of every data type. The warehouse controls physical and available stock, the storefront captures the customer's order, and the order-processing flow controls reservation and fulfilment state. Integration carries changes between them and confirms that each change was accepted.

Separate stock into meaningful states

The statement “twelve in stock” is not enough. Some units may be damaged, reserved, undergoing return inspection or unavailable at a particular location. The storefront should promise only the quantity that can genuinely be allocated to a new order.

MeasureMeaningUse
Physical stockUnits actually present in storage locationsWarehouse operations and counts
Reserved stockUnits allocated to accepted ordersPrevention of overselling
Unavailable stockDamage, quarantine or return inspectionExcluded from sale
Available to sellPhysical stock minus reservations and restrictionsStorefront and basket validation

Agree the availability formula before development. It may include a confirmed incoming quantity when the business deliberately sells backorders, but an unconfirmed supplier purchase should not silently become sellable stock.

Assign one master source to each field

Conflicts occur when price, name or stock can be edited independently in both systems. The last save then overwrites valid data by accident. Each field needs an authoritative source and an allowed direction of travel.

DataRecommended sourceDirection
SKU, unit and core product nameCatalogue or ERPTo the online store
Description and SEO contentOnline storeNormally not returned to ERP
Price and discount rulesApproved pricing systemTo sales channels
Available quantityWarehouseTo the online store
Order and customer detailsOnline storeTo fulfilment
Reservation, picking and dispatchWarehouseBack to the channel and sales team

Do not depend on one nightly export

A large catalogue can be reconciled in batches, but critical changes should be event-driven. A new order, cancellation, shipment or stock adjustment changes what can be promised now. These events should be sent immediately or through a short durable queue that retries temporary failures.

Periodic reconciliation is still required because it finds missed events and discrepancies after incidents. The practical design is operational events plus scheduled control totals, rather than choosing only one method.

What should happen when an order is placed

  1. The store rechecks price and availability before confirmation.
  2. It creates an order with a unique external identifier.
  3. The fulfilment system accepts that order once, even if the request repeats.
  4. Stock is reserved and confirmation is returned.
  5. Picking and dispatch update the order and physical stock.
  6. Cancellation releases the reservation; a return stays unavailable until inspected.

Stable identifiers and idempotency prevent duplicates. If the store loses a response and retries, the receiver must return the original result instead of creating another order.

Map meanings rather than copying status labels

The storefront may have “processing”, while the warehouse distinguishes “awaiting pick”, “picking” and “checked”. Customers do not need every internal step, but each customer-facing state must correspond to a defined fulfilment condition.

EventWarehouse actionSales channel state
Order acceptedReservation createdConfirmed
Picking startedTask assignedProcessing
Dispatch confirmedUnits removed from locationHanded to delivery
Order cancelledReservation releasedCancelled
Return inspectedRestocked or quarantinedReturn processed

Treat integration errors as business exceptions

“Exchange failed” is useless unless it identifies the object, stage, retry option and responsible person. Unknown SKU, invalid warehouse, price conflict and insufficient availability need different responses. A technical success response also does not prove that the business operation was completed correctly.

Use an exchange journal, retry queue, assigned exceptions and daily reconciliation of order counts, amounts, reservations and shipments. That makes silent loss visible.

Pre-launch checklist

  • assign the master source for every field;
  • approve the available-stock formula;
  • describe create, amend, cancel and return scenarios;
  • map system statuses by meaning;
  • test repeated requests without duplicates;
  • test an outage on either side;
  • schedule stock and order reconciliation;
  • assign an owner for unresolved exceptions.

The integration is ready when it survives retries, delays, cancellations and partial failures without manual reconstruction of every transaction. The Business Reactor catalogue module can provide a shared basis for product, availability and order execution across sales channels once the exchange rules and ownership boundaries are agreed.

online store integration, warehouse, inventory, reservations, orders, Business Reactor

0
25
Comments
Related articles