ANGDEV | ORDER-TO-STOCK INTEGRATION WORKSHEET Use this before commissioning an ecommerce-to-inventory connection. Guide: /insights/ecommerce-inventory-integration-requirements 1. AGREE WHO OWNS EACH RECORD Fill in one authority per field, even when both systems hold a copy. Record / field Authority Match key Direction Customer and delivery address ________________ _________________ __________ Product and stock item ________________ _________________ __________ Order and line item ________________ _________________ __________ Payment state ________________ _________________ __________ On-hand / reserved stock ________________ _________________ __________ Shipment and tracking ________________ _________________ __________ Cancellation / return state ________________ _________________ __________ Systems and versions: __________________________________________________________ API, webhook or export availability: ___________________________________________ Order volume and peak window: __________________________________________________ Stock availability rule (including holds and locations): ________________________ Order eligibility rule (what may be sent to fulfilment): _______________________ What must never sync (e.g. payment credentials): ________________________________ 2. WALK ONE ORDER THROUGH BOTH SYSTEMS Worked example only: fictional B2B order, two unnamed systems, one warehouse. The storefront owns the order and customer-facing status; the stock system owns physical stock, reservations, shipment quantities, and inspection outcomes. The example treats available stock as on-hand minus reserved; your rule may differ. Order WEB-1042 | Line L1 | Item SKU-WIDGET | Warehouse W1 | Quantity 6 Before order: on-hand 10, reserved 0, available 10. Accepted for fulfilment: reserve 6; on-hand 10, reserved 6, available 4. Ship 4: on-hand 6, reserved 2, available 4; order is partially fulfilled. Cancel the remaining 2: release 2; on-hand 6, reserved 0, available 6. The record must still show 4 shipped and 2 cancelled, not a fully cancelled order. Return 1 of the shipped units: hold it out of available stock until inspected. After it passes inspection and is restocked: on-hand 7, reserved 0, available 7. A refund is a separate payment event; it must not, by itself, put stock back. Your representative order and line IDs: _________________________________________ Item / location / initial on-hand / reserved / available: _______________________ After reservation: _____________________________________________________________ After a partial shipment: ______________________________________________________ After cancellation of the remainder: ___________________________________________ After a return (received, inspected, restocked or rejected): ____________________ Expected customer-facing messages and responsible system: ________________________ 3. AGREE FAILURE TESTS BEFORE GO-LIVE Run these against staging data. Record pass/fail, evidence and the person who can resolve each failure. Use redacted examples; do not share customer records. Test Expected result in the example Same order delivered twice WEB-1042/L1 reserves 6 exactly once. Timeout after stock commit Retry verifies the existing result; no second reserve. Unknown SKU or location Show an exception; no stock change or false success. Partial shipment + retry Show 4 shipped once; keep the remaining 2 reserved. Delayed, older status event Do not move the order back to an earlier status. Cancel remaining quantity Release only the 2 unshipped units; keep the shipment. Return before inspection Keep the returned unit out of available stock. Mismatch at reconciliation Show affected IDs and quantities; assign one owner. Your additional failure case: __________________________________________________ Expected results in both systems: ______________________________________________ Evidence / tester / date: ______________________________________________________ 4. SET THE RECOVERY AND RECONCILIATION RULES Stable event or replay key: _____________________________________________________ What makes a retry safe, and how long to retain replay keys: ____________________ Retry stop point and visible exception queue: ___________________________________ Who reviews exceptions, corrects source data and can replay an event: __________ How to compare IDs, quantities and status across systems: _______________________ When reconciliation runs, and how a mismatch is escalated: ______________________ How to stop the connection without losing in-flight orders: ____________________ Go-live owner / rollback owner / acceptance date: _______________________________ Decision: Existing connector / Configured connector / Custom integration What the connector must demonstrate before approval: ____________________________