Rails 24:00 Orvane Home & Outdoor

← Ledger

#241 Oversell on listing 54460 · Fri 19:34:00

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

Evidence

eur at risk119.98
failed orders2
feedservice
last failed at2026-11-27 19:33:48.867126
last stock sync2026-11-27 16:56:59.151814
listing id54460
lookback minutes180
marketplaceMarketvine
marketplace id2
order ids[293738, 294385]
orders affected2
productMarrowby Cedar Kneeler – Grey
product id20665
qty shown13
scopelisting:54460
skuOV-131348
stake note2 orders taken that cannot ship
started at2026-11-27T19:17:43.631341
value at risk119.98
warehouse on hand0

Chain

#timeoutcomebynote
241Fri 19:34auto donerulesOV-131348 on Marketvine now shows 0 units (it showed 13).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 918,
    "listing_id": 54460,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 13,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 54460,
    "last_synced_at": "2026-11-27T19:34:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 54460,
    "last_synced_at": "2026-11-27T16:56:59.151814",
    "qty_shown": 13
   }
  ]
 },
 "endpoint": "PUT /listings/54460/inventory (Marketvine) qty=0",
 "note": "OV-131348 on Marketvine now shows 0 units (it showed 13).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}