updateItems

Method Signature String[] updateItems(CartItem[] items);
Description
Updates all the items in the cart. The minimum amount of information that must be specified on the CartItem object is itemId and quantity. If you want to pass in options then you'll also need to populate those fields. This call should contain all of the items in the cart. It is a complete update, not a partial one.
Parameters Item[] items – The array of items to update on the cart.
Result String[] – All the errors that occurred while trying to update the items to the cart. If this array is empty then the addition was successful. If this array contains any values then you'll want to display the errors to the customer. This could include things like out of stock conditions, invalid item ids, etc. Even if the errors array contained something the global cart variable is updated.