Rails 24:00 Orvane Home & Outdoor

← Ledger

#192 Oversell on listing 78705 · Fri 06:45:00

outcome
auto done
action and tier
resync stock 0
call
PUT /listings/78705/inventory
definition
oversell v1
decided by
rules
approved by
—
why
Allowed: resync_stock is tier 0 (just do it); within budget (0 of 4 actions on listing:78705 this hour).
rationale
2 orders failed allocation while the listing showed 9 units and the warehouses hold 0; push the real stock.
note
OV-135767 on Tradewick now shows 0 units (it showed 9).
at stake
EUR 75.88, 2 orders taken that cannot ship
undo
Push the quantity the listing showed before.

Evidence

eur at risk75.88
failed orders2
feedservice
last failed at2026-11-27 06:42:25.019237
last stock sync2026-11-27 00:20:18.888817
listing id78705
lookback minutes180
marketplaceTradewick
marketplace id3
order ids[288269, 288272]
orders affected2
productFellwick Enamel Kettle – Navy
product id19505
qty shown9
scopelisting:78705
skuOV-135767
stake note2 orders taken that cannot ship
started at2026-11-27T06:30:37.469131
value at risk75.88
warehouse on hand0

Chain

#timeoutcomebynote
192Fri 06:45auto donerulesOV-135767 on Tradewick now shows 0 units (it showed 9).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 889,
    "listing_id": 78705,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 9,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 78705,
    "last_synced_at": "2026-11-27T06:45:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 78705,
    "last_synced_at": "2026-11-27T00:20:18.888817",
    "qty_shown": 9
   }
  ]
 },
 "endpoint": "PUT /listings/78705/inventory (Tradewick) qty=0",
 "note": "OV-135767 on Tradewick now shows 0 units (it showed 9).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}