Call external API once the stock level updated

I have Shopware version 5.X