I need to automate the request to the API of a warehouse company and update the stock of my inventory module with the response. I'm new to Odoo and as far as I researched the easiest way to implement anything in Odoo is using some existing module, but I don't know exactly what the appropriate module for this case is (if there is any). Also, I watched some tutorials where people programmed entire API modules and I think that would be more than I need. I would appreciate any help!
To be sure you fully understand the explanation, this would be an example of what I want to achieve:
1. The stock of product X in my inventory is 5.
2. The automated request to Warehouse company's API triggers.
3. The response indicates that product X inventory is actually 3.
4. My inventory gets updated to show product X stock is 3.