Rails 24:00 Orvane Home & Outdoor

← Ledger

#144 Oversell on listing 82569 · Wed 05:40:00

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

Evidence

eur at risk103.89
failed orders2
feedservice
last failed at2026-11-25 05:38:27.92482
last stock sync2026-11-27 23:29:21.522302
listing id82569
lookback minutes180
marketplaceTradewick
marketplace id3
order ids[282051, 282056]
orders affected2
productCopperleaf Rosehip Hand Cream
product id26497
qty shown99
scopelisting:82569
skuOV-128482
stake note2 orders taken that cannot ship
started at2026-11-25T05:09:54.796667
value at risk103.89
warehouse on hand1156

Chain

#timeoutcomebynote
144Wed 05:40auto donerulesOV-128482 on Tradewick now shows 1139 units (it showed 99).

Before and after

{
 "after": {
  "listing_events": [
   {
    "id": 866,
    "listing_id": 82569,
    "type": "stock_sync",
    "undo_payload": {
     "qty": 99,
     "source": "rollback"
    },
    "undo_type": "stock_sync"
   }
  ],
  "listings": [
   {
    "id": 82569,
    "last_synced_at": "2026-11-25T05:40:00",
    "qty_shown": 1139
   }
  ]
 },
 "before": {
  "listings": [
   {
    "id": 82569,
    "last_synced_at": "2026-11-27T23:29:21.522302",
    "qty_shown": 99
   }
  ]
 },
 "endpoint": "PUT /listings/82569/inventory (Tradewick) qty=1139",
 "note": "OV-128482 on Tradewick now shows 1139 units (it showed 99).",
 "ok": true,
 "rollback_fn_name": "undo_resync_stock"
}