Rails 24:00 Orvane Home & Outdoor

← Ledger

#337 Oversell on listing 57303 · Fri 23:13:00

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

Evidence

eur at risk101.98
failed orders2
feedservice
last failed at2026-11-27 23:12:41.287236
last stock sync2026-11-27 15:27:38.918426
listing id57303
lookback minutes180
marketplaceMarketvine
marketplace id2
order ids[302106, 302418]
orders affected2
productAshgrove Weighted Kettlebell
product id24736
qty shown17
scopelisting:57303
skuOV-107996
stake note2 orders taken that cannot ship
started at2026-11-27T22:56:47.247652
value at risk101.98
warehouse on hand0

Chain

#timeoutcomebynote
337Fri 23:13auto donerulesOV-107996 on Marketvine now shows 0 units (it showed 17).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 937,
    "listing_id": 57303,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 17,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 57303,
    "last_synced_at": "2026-11-27T23:13:00",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 57303,
    "last_synced_at": "2026-11-27T15:27:38.918426",
    "qty_shown": 17
   }
  ]
 },
 "endpoint": "PUT /listings/57303/inventory (Marketvine) qty=0",
 "note": "OV-107996 on Marketvine now shows 0 units (it showed 17).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}