← All lessons
Day 22 of 90

Inventory & Availability Sync

7 min read

Key Concepts

  • 1An agent recommending an out-of-stock item is worse than not recommending at all — it converts intent into frustration at the worst moment
  • 2Availability is multi-dimensional: total stock, location/warehouse, size/variant, and reserved-but-not-purchased inventory all affect what's truly buyable
  • 3Sync latency is the core risk: the gap between real inventory and what the agent sees causes overselling or phantom stock-outs; PMs choose an acceptable staleness window
  • 4Reservation/soft-hold logic during an agent session prevents the classic race where the item sells out between recommendation and checkout
  • 5Oversell handling must be graceful: if stock vanishes at the last second, the agent should immediately offer the nearest valid alternative, not dump an error
  • 6Availability also means fulfillability — an item in stock but not shippable to the user's region is effectively unavailable and should be filtered as such
  • 7Event-driven sync (inventory changes push updates) scales better than polling for high-velocity SKUs, but adds architectural complexity the PM must justify

Why It Matters for PMs

Trust at the decision moment: Recommending unavailable items breaks trust precisely when the user was ready to buy. Accurate availability is a direct conversion and satisfaction driver.
Oversell cost: Selling what you can't fulfill triggers cancellations, refunds, and support load. Inventory accuracy protects both margin and reputation.
Architecture tradeoff PMs own: The staleness window and sync approach (polling vs event-driven) is a real cost/complexity decision with direct customer-facing consequences.

Test Your Understanding

Question 1 (Multiple Choice)

Why is recommending an out-of-stock item worse than showing nothing?

Question 2 (Multiple Choice)

What mechanism prevents an item selling out between recommendation and checkout during a session?

Question 3 (Multiple Choice)

An item is in stock but can't ship to the user's region. The agent should treat it as...

Question 4 (Short Answer)

How would you decide an acceptable inventory staleness window for an agent, and what tradeoffs does it involve?

Think about your answer before revealing the explanation.

Question 5 (Short Answer)

How should the agent handle an item going out of stock at the last second, and why does that matter?

Think about your answer before revealing the explanation.