Adds an item to the shopping basket.
The object instance representing the item to add.
The base model containing the added shopping cart item object.
Clears the shopping cart.
The ID of the customer or the customer object.
Optional
shoppingCartType: MsShoppingCartItemTypeOptional. The type of shopping cart to clear.
A boolean indicating whether the cart was successfully cleared.
Deletes an item from the shopping basket.
The ID of the item or the object instance representing the item.
A boolean indicating whether the item was successfully deleted.
Retrieves the count of items in the shopping cart.
The ID of the customer or the customer object.
Optional
shoppingCartType: MsShoppingCartItemTypeOptional. The type of shopping cart to retrieve item count for.
An object containing the count of items in the shopping cart.
Retrieves items from the shopping basket.
The ID of the customer or the customer object.
Optional
shoppingCartType: MsShoppingCartItemTypeOptional. The type of shopping cart to retrieve items from.
An array of shopping cart item objects.
Updates a shopping cart item.
The shopping cart item object to update.
The model representing the result of the update operation.
Represents operations for managing shopping carts.