Connecting your online store, retail locations and warehouses: how to scope the project

    Decide who keeps each piece of data up to date, how orders move between systems and what your team does when an exchange fails.

    Category:
    Orders and inventory
    Format:
    Guide
    Goal:
    Prepare a project

    In brief

    • Your online store shows a product as available, but the store team just sold the last unit. To avoid that, start by defining what "available" means, which system calculates that quantity and when each channel receives the update.
    • Technical connections support those decisions; they don't replace them. Without shared rules, an exchange can run perfectly and still spread data that each team reads differently.
    • Bring together the people responsible for ecommerce, stores, the warehouse and your systems. Walk through one sale together, from the product page to shipment or in-store pickup, and note every status change and every handoff.

    Who it's for: Multi-location retailers, brands selling online and in store, and distributors running several warehouses. This guide is for operations, ecommerce and IT leaders.

    The systems involved

    Start by taking stock of your tools. A project linking the online store, retail locations and warehouses almost always touches more systems than expected at first.

    • The ecommerce platform, B2C or B2B.
    • The point-of-sale (POS) systems in your stores.
    • The ERP, which often handles purchasing, accounting and sometimes inventory.
    • Warehouse management software, if you have one.
    • An order management system (OMS), if one already exists.
    • Shipping tools and carriers.
    • Marketplaces you sell on, if any.
    • Your product information management (PIM) and customer service tools.

    For each, note who uses it, who administers it, the vendor, the available integration methods (API, file exchange, connector) and any contractual constraints. This information often sits with the vendor, so ask for it in writing.

    Assign a system of record to each type of data

    The system of record is the one whose value is authoritative for a given piece of data. That role can vary by field: your accounting software may own the billing account while your catalogue tool manages descriptions and images. When two systems both act as the master of the same information, discrepancies multiply and nobody knows which one to fix.

    Avoid broad statements like "all product data comes from the ERP." Specify identifiers, units, prices and editorial content separately. Note who can correct each one and how the other systems receive the correction.

    Identifiers need particular care. A product's SKU, its variant and its pack size must be recognized the same way on both sides of every connection. Also document how warehouse and store codes map to each other.

    Illustrative example to adapt: the systems and owners shown aren't a required architecture
    DataPossible system of recordExchangeBusiness ownerWhat to check
    SKU and unit of saleERPERP to commerce and warehouseCatalogue managementCase-to-unit mapping
    Description and imagesCatalogue toolCatalogue to storefrontsContent teamVariants, language and publishing
    Physical stock by locationWarehouse or store systemWarehouse/POS to inventory managementOperationsDamaged or in-transit stock
    Available-to-sell stockSystem responsible for allocationAllocation to channelsSales operationsReservations and safety stock
    Online orderCommerce platform at creationCommerce to fulfilmentOrder deskAcknowledgement and duplicates
    ShipmentFulfilment toolFulfilment to commerceLogisticsPartial shipments and tracking
    PaymentPayment providerPayment to commerce/accountingFinanceReconciliation with the order
    Credit noteDesignated accounting systemAccounting to customer accountAccountingLink to invoice and return
    Illustrative example to adapt: the systems and owners shown aren't a required architecture

    Add prices (same online and in store or not, channel-specific promotions) and customers (matching online and in-store accounts, consent management) to this table if your project touches them.

    Separate physical, reserved and sellable stock

    A quantity sitting in a building isn't necessarily available for a new order. It may be reserved, damaged, awaiting inspection or set aside for another purpose.

    Define how availability is calculated for each channel. A rule might subtract active reservations and a safety buffer from eligible stock. Check, though, that the quantities you receive aren't already net of reservations: subtracting them twice would understate what you can sell.

    Specify when a reservation starts and ends. Does an unconfirmed cart hold items? Does an order awaiting payment keep its reservation? Who releases the quantities when an order is cancelled?

    Describe each exchange with its trigger and expected delay

    For each flow, state what triggers it: a new order, a supplier receipt, an inventory adjustment or a completed transfer. Then specify its direction, approximate volume, acceptable delay and the confirmation you expect.

    • Available quantities, from warehouses and stores to the online store.
    • Orders, from the online store to the location that fulfils them.
    • Statuses and tracking numbers, to the customer.
    • In-store sales, to central inventory.
    • Returns, to inventory and accounting.
    • Transfers between locations.

    A periodic sync may be fine for some editorial content. Stock sold on several channels at once calls for a tighter decision: the quantity of a nearly sold-out or high-demand product matters more than a description. The target delay should reflect the business risk and what the systems involved can support.

    Ask how the receiving system confirms that a record was saved. Sending a message doesn't prove the order is ready for the warehouse. Your monitoring should distinguish between sent, received and accepted for processing.

    What "real time" actually covers

    If a vendor promises "real time," ask what is measured, between which points and under what conditions. A fast update inside one platform doesn't demonstrate the same delay all the way to an external system.

    Set your order routing rules

    Define the criteria that decide where an order is fulfilled: availability, service area, fulfilment capacity, delivery promise or location priority. Write down the order in which they apply.

    The closest warehouse isn't always the one your rules should pick. It may be missing part of the cart or not handle a certain product type. Decide whether an order can be split, transferred or held.

    In-store pickup also needs operational confirmation. Specify when the customer is told the order is ready and who checks that the product is actually there. A number in the system doesn't replace a picking step.

    Record the overrides you allow. Can a supervisor change the fulfilment location? Does that change recalculate fees or the promised date? Your team should be able to trace the decision and who made it.

    Exceptions to plan for

    List the situations that fall outside the normal flow. Each one needs a rule and an owner.

    • An item that can't be found at picking time.
    • An order split between two locations.
    • Buy online, pick up in store.
    • An online purchase returned in store.
    • A product damaged on receipt or at shipping.
    • A partial cancellation after picking has started.
    • A sync that stops for several hours.
    • A pre-order or a product awaiting replenishment.

    Plan for errors and recovery from the start

    An integration has to handle repeated deliveries and events that arrive late. Stripe's webhook documentation, for example, states that for its service, events may not arrive in the order they were generated and the same event may be received more than once. Check the guarantees of every other system separately.

    So ask how your integration recognizes an operation it has already processed. A retry must not create a second order or trigger a second pick. This safeguard is often called idempotency: repeating the same identified operation leaves the intended result unchanged.

    Also name the person who monitors errors. They need to be able to identify the order involved, understand the cause and trigger an authorized retry. Technical failures belong to the technical team; an unknown product code or an invalid address may need a business fix.

    Schedule regular reconciliation. Comparing orders received with orders accepted catches gaps even when an alert was missed.

    Test the full flow and measure discrepancies

    Validate the normal flow and the exceptions with real or representative data, and involve store and warehouse staff: they'll be the first to see problems. For each test, check quantities, statuses and documents in every system involved. An order that looks right on the site may still be incomplete in the picking tool.

    Example scenarios and results to validate
    ScenarioExpected result to validate
    Online order for an item available in only one storeThe order is routed to that store, stock is reserved and the customer receives accurate information.
    In-store sale of the last unit already reserved onlineThe system blocks the sale or alerts the employee, depending on the chosen rule.
    Order with items spread across two locationsThe split rule is respected and the customer understands they'll receive two parcels.
    Online purchase returned in storeThe refund is issued, the item is restocked or set aside, and accounting is up to date.
    Return of an item that can't be resoldThe item is removed from sellable stock, the refund or credit note is issued and the reason is recorded.
    Transfer between two storesStock leaves the origin store, stays flagged as in transit and only becomes sellable at the destination once received.
    Sync interruption, then recoveryQueued exchanges are kept, replayed without duplicates and an alert is sent.
    Order peak during a promotionDisplayed quantities stay consistent and orders don't exceed available stock.
    Example scenarios and results to validate

    Indicators with an explicit definition

    • Propagation delay: time between a change being recorded at the source and its availability in the receiving system.
    • Orders in error: number and share of orders not accepted, with how long they've been waiting.
    • Stock discrepancies: differences found for the same SKU, the same location and a comparable point in time.
    • Manual interventions: orders that needed someone to step in, grouped by cause.
    • Cancellations due to unavailability: orders cancelled for lack of stock after they were accepted.

    Measure your starting point and agree on targets with the teams involved. No universal threshold replaces your own volume, timing and service constraints.

    Limits to clarify

    • What each system can actually exchange, by what means and how often. Have each vendor confirm it.
    • Licence, API or connector costs the exchanges may involve.
    • Store capacity to fulfil orders: space, staff, opening hours.
    • How reliable store inventory is. If counts are unreliable, showing store stock online can disappoint customers.
    • What will remain manual at launch, and who handles it.
    • How the rollout is phased: which locations, channels and flows come first.

    Where Shopflow fits

    Shopflow's OMS & Inventory page describes multi-warehouse management, rule-based order routing, stock reservation for B2B and inventory updates with each order. The POS Integration page describes linking online and in-store sales. Your map will help pin down the exchanges required with your tools and the operating conditions to validate. Connections with your specific ERP, warehouse software or POS still need to be confirmed case by case: ask whether there's an existing connector or an integration to build.

    What to have in place before rollout

    Your scope is ready when each of these items is documented and approved.

    Sources consulted

    Scoping a unified commerce project?

    Walk the Shopflow team through your systems and locations. The form sends a contact request; the team will get back to you to arrange a conversation about your project.

    Back to resources