Syncing stock levels via webhook
We currently have an integration between LightSpeed eCom and our website where we are polling eCom for stock levels at key points (view product page, add to cart, checking out etc.) We are using some caching to reduce the number of API calls.
It seems to me that it would be much more efficient to use webhooks to keep the stock levels of the website in sync with eCom.
Which actions would be necessary to monitor to keep both inventories in sync?
Is variants/updated always triggered when a variant's stock levels change, for example if an order is made, or inventory is brought in? Or do we need to monitor other actions like orders or shipments?