removeItems

Method Signature String[] removeItems(String[] itemIds);
Description
Removes the specified item ids from the cart.
Parameters String[] itemIds – An array of item Ids to remove from the cart.
Result String[] –All the errors that occurred while trying to remove items to the cart. If this array is empty then the removal was successful. If this array contains any values then you'll want to display the errors to the customer. Even if the errors array contained something the global cart variable is automatically updated.