Rails 24:00 Orvane Home & Outdoor

← Ledger

#325 Oversell on listing 60492 · Fri 22:11:30

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

Evidence

eur at risk83.88
failed orders2
feedservice
last failed at2026-11-27 22:11:27.683419
last stock sync2026-11-27 19:25:41.272479
listing id60492
lookback minutes180
marketplaceMarketvine
marketplace id2
order ids[300852, 300830]
orders affected2
productCopperleaf Precision Socket Set
product id29261
qty shown12
scopelisting:60492
skuOV-126272
stake note2 orders taken that cannot ship
started at2026-11-27T22:11:02.228608
value at risk83.88
warehouse on hand0

Chain

#timeoutcomebynote
325Fri 22:11auto donerulesOV-126272 on Marketvine now shows 0 units (it showed 12).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 934,
    "listing_id": 60492,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 12,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 60492,
    "last_synced_at": "2026-11-27T22:11:30",
    "qty_shown": 0
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 60492,
    "last_synced_at": "2026-11-27T19:25:41.272479",
    "qty_shown": 12
   }
  ]
 },
 "endpoint": "PUT /listings/60492/inventory (Marketvine) qty=0",
 "note": "OV-126272 on Marketvine now shows 0 units (it showed 12).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}