Use data streaming and stream processing (Flink, ksqlDB) to integrate data from store returns, purchases, exchanges, shipments, interstore transfers, etc., to produce a consistent, real-time view of inventory.
https://www.confluent.io/blog/real-time-inventory-in-retail/