Rails 24:00 Orvane Home & Outdoor

← Ledger

#339 Oversell on listing 77918 · Fri 23:41:00

outcome
auto done
action and tier
resync stock 0
call
PUT /listings/77918/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:77918 this hour).
rationale
2 orders failed allocation while the listing showed 99 units and the warehouses hold 112; push the real stock.
note
OV-106368 on Tradewick now shows 105 units (it showed 99).
at stake
EUR 263.86, 2 orders taken that cannot ship
undo
Push the quantity the listing showed before.

Evidence

eur at risk263.86
failed orders2
feedservice
last failed at2026-11-27 23:40:39.769885
last stock sync2026-11-27 23:22:20.885693
listing id77918
lookback minutes180
marketplaceTradewick
marketplace id3
order ids[302322, 302809]
orders affected2
productBramblecot Oat Body Wash – Twin Pack
product id18045
qty shown99
scopelisting:77918
skuOV-106368
stake note2 orders taken that cannot ship
started at2026-11-27T23:06:12.795058
value at risk263.86
warehouse on hand112

Chain

#timeoutcomebynote
339Fri 23:41auto donerulesOV-106368 on Tradewick now shows 105 units (it showed 99).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 938,
    "listing_id": 77918,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 99,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 77918,
    "last_synced_at": "2026-11-27T23:41:00",
    "qty_shown": 105
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 77918,
    "last_synced_at": "2026-11-27T23:22:20.885693",
    "qty_shown": 99
   }
  ]
 },
 "endpoint": "PUT /listings/77918/inventory (Tradewick) qty=105",
 "note": "OV-106368 on Tradewick now shows 105 units (it showed 99).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}