Rails 24:00 Orvane Home & Outdoor

← Ledger

#290 Oversell on listing 47420 · Fri 21:15:00

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

Evidence

eur at risk103.98
failed orders2
feedservice
last failed at2026-11-27 21:14:42.279295
last stock sync2026-11-27 15:59:17.622344
listing id47420
lookback minutes180
marketplaceMarketvine
marketplace id2
order ids[298229, 298617]
orders affected2
productGreyfen Oak Tea Towel Pack – Navy
product id10553
qty shown29
scopelisting:47420
skuOV-126890
stake note2 orders taken that cannot ship
started at2026-11-27T21:03:51.676679
value at risk103.98
warehouse on hand0

Chain

#timeoutcomebynote
290Fri 21:15auto donerulesOV-126890 on Marketvine now shows 0 units (it showed 29).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 926,
    "listing_id": 47420,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 29,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 47420,
    "last_synced_at": "2026-11-27T21:15:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 47420,
    "last_synced_at": "2026-11-27T15:59:17.622344",
    "qty_shown": 29
   }
  ]
 },
 "endpoint": "PUT /listings/47420/inventory (Marketvine) qty=0",
 "note": "OV-126890 on Marketvine now shows 0 units (it showed 29).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}