Quick summary
- Give each item and location one authoritative stock balance.
- Map the sellable variant and its stock owner before sending quantities.
- Resolve concurrent reservations and reconcile against movement receipts.
For merchants selling the same goods through two storefronts, Shopify WooCommerce inventory sync should publish the quantity each channel can promise from each location. Choose one inventory authority, map each sellable variant, and send sales back to that authority as reservations or movements before recalculating availability.
Give Shopify WooCommerce inventory sync one stock owner
Ask the warehouse supervisor where a damaged unit is recorded and who can release a reserved item. The system that receives those decisions and can resolve competing reservations is a candidate for the authoritative ledger. That might be an inventory management system or Shopify. Choose it based on how goods move through the business, including counter sales and manual adjustments.
According to Shopify’s inventory guide, on-hand inventory includes six states, among them available, committed, and damaged. Incoming stock is outside that physical total. A carton expected from a supplier should therefore have a different effect on the storefront from a carton already counted and cleared for sale.
Write an explicit promise for each channel. If a branch fulfills only local pickup, its units may be available to a local shopper and unavailable for delivery elsewhere. A common stock ledger can serve both storefronts without promising every unit to every buyer. Capture the fulfillment restriction beside the location mapping.
Map the sellable variant to its location
A stock keeping unit (SKU) is the merchant’s identifier for a sellable item. Use it to propose a match, then save permanent platform identifiers. The Shopify InventoryLevel reference connects one inventory item to one location per level. A size sold from two warehouses therefore needs two location records even when the label printed on both boxes is identical.
Check where WooCommerce manages the quantity
The WooCommerce variable product guide describes two stock management levels, the parent product and individual variations, which a product can combine. Open Product data, inspect Inventory and then Variations. If several colors share their parent’s balance, writing an independent quantity for every color would multiply the apparent supply.
| Mapping field | Example value | Reason to keep it |
|---|---|---|
| Merchant SKU | TEE-BLK-M | Allows warehouse staff to identify the item |
| Shopify item and location | Black medium at pickup branch | Selects the relevant inventory level |
| WooCommerce stock owner | Variation or shared parent | Identifies the balance to update |
Treat an empty SKU, a duplicate, or a change in pack size as an exception. A pack of two and a single piece may draw from the same physical bin but need a conversion rule. Record the number of base units consumed per sale and round down when calculating the number of complete packs available.
Make the mapping review concrete by scanning a box from the shelf and asking a picker what an order quantity of one means. If the supplier has changed the pack size under the old label, record when the new conversion takes effect. Keep historical order lines tied to their original unit definition so a return from last month can be credited correctly.
Resolve competing claims on the last unit
Suppose both storefronts display one remaining shirt. Two shoppers can complete checkout before either store receives a quantity update. Faster messages shorten that interval. To control the risk, either reserve from a shared authority during checkout with an atomic availability check, or assign separate channel allocations whose combined quantity fits the remaining stock.
Reject a stale stock write
For an authoritative integration setting an absolute quantity, Shopify documents a version change in April 2026. Each quantity in the mutation needs an explicit changeFromQuantity, and the operation requires an idempotency key. Supply the last observed quantity as the comparison value. A stale-value error is a reason to reread the level and its movements before calculating a fresh decision.
Preserve the same operation key when repeating an unchanged request after a timeout. Give a newly calculated adjustment its own reference and inspect the mutation’s user errors. If both channels already promised the last item, put the unallocated order in a staffed exception queue so someone can arrange a transfer, a later shipment, or a refund.
Trace reservations, returns, and stock adjustments
Record the order line, channel, location, quantity, and movement type together. A refund is a financial event. The returned item can be in transit, on the inspection desk, or available for resale. Add a restock entry only when the agreed warehouse event occurs and tie it back to the original return line.
Consider a replacement shipped before the customer sends the original item back. The replacement consumes a sellable unit immediately. The expected return becomes sellable only after receipt and inspection. If both movements are folded into a single zero adjustment, the store can show stock that the picker cannot find.
Watch for stock updates that echo
A connector can receive a notification caused by its own write. Keep the original movement reference and compare the resulting balance with the expected projection. Replaying that notification as a new sale subtracts inventory again. Keep a separate audit entry for the acknowledgment.
A transfer also needs a receiving document. If three units leave the warehouse and the branch signs for two, credit the two received and keep the third under investigation. Record the dispatch note and receipt on the movement. The destination can sell the two confirmed units while the warehouse checks the discrepancy against the packing list.
Reconcile a sample from shelf to checkout
Select a fast-moving variant, a shared parent balance, and a product held at more than one branch. Count physical units at a recorded cutoff. List reservations, damaged units, and movements after the cutoff separately, then compare the reconstructed sellable balance with what each channel offered at that time.
Find the first unexplained movement
Work forward from the last agreed balance. For each change, find the originating sale, return, transfer, or count adjustment and the acknowledgment from the destination. If a sales event is missing, recover that event under its existing reference. An unexplained discrepancy deserves a physical recount before somebody forces both screens to agree.
Route rejected writes and missing mappings into an operator queue. The n8n failure alert guide shows how to give an operator the failed step and the evidence needed to retry. For scheduled SKU reconciliation, the n8n automation guide explains how to keep collection and reporting separate.
Release one location before expanding the catalog
A useful first release for Shopify WooCommerce inventory sync covers a location where staff can count the goods and explain how reservations work. Walk a sale, cancellation, partial return, and transfer through that location. Compare both storefronts with the ledger after each step and confirm who can resolve a short allocation.
Bring the mapping sheet, discrepancy history, and last-unit policy to the systems integration review. Expand to another branch once someone on the next shift can trace a displayed quantity to a physical count and the movements since that count. That is the evidence you need when a shopper asks whether an item is available today.
Which system should own stock?
Choose the system that sees receipts, reservations, transfers, and returns and can decide competing requests for the same units. Document who adjusts each location there. Other channels can report sales and display their allocations, while the authoritative system keeps the history needed to explain a discrepancy.
Can two locations use the same SKU?
Yes. The same sellable variation can carry one merchant SKU across warehouses. Represent each location independently in the mapping and attach the platform’s item and location identifiers. Verify pack size and the WooCommerce stock management level before combining or publishing balances across those locations.
What happens if both stores sell the last item?
With asynchronous updates, both checkouts may accept an order before the other receives the new balance. A shared atomic reservation or separate channel allocations can limit that risk. If an oversell has already happened, hold the unallocated order for an operator who can confirm a transfer or contact the buyer.



