Rails 24:00 Orvane Home & Outdoor

← Ledger

#174 Oversell on listing 58920 · Thu 18:40:00

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

Evidence

eur at risk149.98
failed orders2
feedservice
last failed at2026-11-26 18:35:15.80947
last stock sync2026-11-26 12:26:01.431979
listing id58920
lookback minutes180
marketplaceMarketvine
marketplace id2
order ids[286852, 287004]
orders affected2
productQuillby Puzzle Kite – Small
product id27035
qty shown20
scopelisting:58920
skuOV-112841
stake note2 orders taken that cannot ship
started at2026-11-26T17:52:16.275240
value at risk149.98
warehouse on hand0

Chain

#timeoutcomebynote
174Thu 18:40auto donerulesOV-112841 on Marketvine now shows 0 units (it showed 20).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 880,
    "listing_id": 58920,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 20,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 58920,
    "last_synced_at": "2026-11-26T18:40:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 58920,
    "last_synced_at": "2026-11-26T12:26:01.431979",
    "qty_shown": 20
   }
  ]
 },
 "endpoint": "PUT /listings/58920/inventory (Marketvine) qty=0",
 "note": "OV-112841 on Marketvine now shows 0 units (it showed 20).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}