Rails 24:00 Orvane Home & Outdoor

← Ledger

#238 Oversell on listing 50254 · Fri 19:15:00

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

Evidence

eur at risk99.98
failed orders2
feedservice
last failed at2026-11-27 19:14:33.643289
last stock sync2026-11-27 14:47:28.194134
listing id50254
lookback minutes180
marketplaceMarketvine
marketplace id2
order ids[291099, 293564]
orders affected2
productCopperleaf Foam Balance Board – Large
product id14628
qty shown23
scopelisting:50254
skuOV-136094
stake note2 orders taken that cannot ship
started at2026-11-27T18:06:52.229546
value at risk99.98
warehouse on hand0

Chain

#timeoutcomebynote
238Fri 19:15auto donerulesOV-136094 on Marketvine now shows 0 units (it showed 23).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 917,
    "listing_id": 50254,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 23,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 50254,
    "last_synced_at": "2026-11-27T19:15:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 50254,
    "last_synced_at": "2026-11-27T14:47:28.194134",
    "qty_shown": 23
   }
  ]
 },
 "endpoint": "PUT /listings/50254/inventory (Marketvine) qty=0",
 "note": "OV-136094 on Marketvine now shows 0 units (it showed 23).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}