This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves current inventory levels for a product's variants.
Wix calls this method when a site owner opens a product details page and wants to see current stock levels.
Wix uses the response to display available inventory for each product variant.