Rails 24:00 Orvane Home & Outdoor

← Ledger

#245 Oversell on listing 73863 · Fri 19:45:00

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

Evidence

eur at risk39.88
failed orders2
feedservice
last failed at2026-11-27 19:44:58.627561
last stock sync2026-11-27 12:23:53.421589
listing id73863
lookback minutes180
marketplaceTradewick
marketplace id3
order ids[294807, 294863]
orders affected2
productTidemark Glow Board Game
product id10757
qty shown16
scopelisting:73863
skuOV-134018
stake note2 orders taken that cannot ship
started at2026-11-27T19:42:53.915639
value at risk39.88
warehouse on hand0

Chain

#timeoutcomebynote
245Fri 19:45auto donerulesOV-134018 on Tradewick now shows 0 units (it showed 16).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 919,
    "listing_id": 73863,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 16,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 73863,
    "last_synced_at": "2026-11-27T19:45:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 73863,
    "last_synced_at": "2026-11-27T12:23:53.421589",
    "qty_shown": 16
   }
  ]
 },
 "endpoint": "PUT /listings/73863/inventory (Tradewick) qty=0",
 "note": "OV-134018 on Tradewick now shows 0 units (it showed 16).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}