Rails 24:00 Orvane Home & Outdoor

← Ledger

#237 Oversell on listing 52525 · Fri 19:14:00

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

Evidence

eur at risk91.98
failed orders2
feedservice
last failed at2026-11-27 19:13:47.356388
last stock sync2026-11-27 15:05:03.519374
listing id52525
lookback minutes180
marketplaceMarketvine
marketplace id2
order ids[293275, 293536]
orders affected2
productKettering Lane Ratchet Work Light
product id17910
qty shown26
scopelisting:52525
skuOV-100701
stake note2 orders taken that cannot ship
started at2026-11-27T19:08:25.091827
value at risk91.98
warehouse on hand0

Chain

#timeoutcomebynote
237Fri 19:14auto donerulesOV-100701 on Marketvine now shows 0 units (it showed 26).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 916,
    "listing_id": 52525,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 26,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 52525,
    "last_synced_at": "2026-11-27T19:14:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 52525,
    "last_synced_at": "2026-11-27T15:05:03.519374",
    "qty_shown": 26
   }
  ]
 },
 "endpoint": "PUT /listings/52525/inventory (Marketvine) qty=0",
 "note": "OV-100701 on Marketvine now shows 0 units (it showed 26).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}