The hub is the single authority on stock. Every sale applies to it in order, stale or out-of-order events are dropped rather than applied, and the resulting quantity fans out to every other channel in seconds.
For thin stock you can also set safety buffers per channel so the last unit is never promised twice, how buffers work, and the oversell mechanics they protect against are covered in the prevention guide.