Note: If the quantity is set to zero, the item will be removed from the cart.
Rectified documentation