Rails 24:00 Orvane Home & Outdoor

← Ledger

#330 Oversell on listing 49546 · Fri 22:36:00

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

Evidence

eur at risk63.88
failed orders2
feedservice
last failed at2026-11-27 22:35:57.065331
last stock sync2026-11-27 14:44:52.613075
listing id49546
lookback minutes180
marketplaceMarketvine
marketplace id2
order ids[301344, 301537]
orders affected2
productBrackenly Precision Tool Bag – Navy
product id13617
qty shown26
scopelisting:49546
skuOV-122008
stake note2 orders taken that cannot ship
started at2026-11-27T22:30:42.209963
value at risk63.88
warehouse on hand0

Chain

#timeoutcomebynote
330Fri 22:36auto donerulesOV-122008 on Marketvine now shows 0 units (it showed 26).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 935,
    "listing_id": 49546,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 26,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 49546,
    "last_synced_at": "2026-11-27T22:36:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 49546,
    "last_synced_at": "2026-11-27T14:44:52.613075",
    "qty_shown": 26
   }
  ]
 },
 "endpoint": "PUT /listings/49546/inventory (Marketvine) qty=0",
 "note": "OV-122008 on Marketvine now shows 0 units (it showed 26).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}