Zend certified PHP/Magento developer

magento2 verifies the order before it is generated

magento2.4.5 CE Before generating the order, I need to call the erp third-party system to verify whether the inventory is satisfied and whether the product is removed from the shelves. How should I operate