Two orders for the last unit arriving within milliseconds of each other, from two different channels, is the scenario that breaks naive sync logic. Whichever system checks available inventory a moment too late sells a unit that's already gone.
Inventory needs to be reserved at the moment of checkout initiation, not just decremented after payment succeeds — a short-lived hold that releases automatically if checkout isn't completed within a few minutes. This closes the race window that a simple decrement-on-sale approach leaves open.
Even with good reservation logic, keeping a small safety buffer (2-3 units reported as unavailable before true zero) absorbs sync-delay edge cases across third-party channels that don't support real-time reservation at all, like some marketplace integrations.