This research investigates the optimization of logistics operations in retail using artificial intelligence (AI) to enhance demand forecasting and inventory management. By employing models like SARIMA and random forests, the study demonstrates how AI can improve forecast accuracy, reduce logistical costs, and increase customer satisfaction through efficient delivery planning. The findings highlight the significant role of data-driven approaches in forming competitive advantages within dynamic supply chains.