This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Reduces the available stock quantity for specified items.
Use this method when inventory needs to be decremented due to order events such as order placement or payment. The method supports validation to prevent negative inventory levels when restrictInventoryValue
is set to true.