Hello, I just started evaluating Tryton. My use case involves integrating its product stock levels with a custom ecommerce website. Basically, when a purchase is made on the website, I want to have it appear on Tryton, or at the very least, update the stock levels on Tryton. To do this, I need to understand how the API works in Tryton. Is this function already available on the JSON-RPC and where can I find an example of how to use it?
On the flip side, if the stock changes on Tryton, I want to send a request to the ecommerce website to update the stock there as well. I’ll need to use web hooks for that. Are those supported, and how do I use them?