Update cart
Principles
- The quantity is updated with the provided quantity number. Sending
0
as the quantity means that the product will be removed from the cart. - Product variants in the request will be merged with the existing cart.
- If a
shippingOption
is not provided in the request, it will be removed from the cart. This method can be used to enable users to select new shipping options.