Parameters
- quantity
- Quantity of the product to destock
- productId
- Id of the product to destock
- optionList
- The option list of the product to check stock for
- lowStock
- value returned in this variable indicates whether after destocking the product has reached low stock warning level or not