Adds a product to an user's shoppingcart for the first time. Can also change the amount of an already existing shoppingItem, but that is not its intended purpose. changeAmount() is better for that.
The amount of a product an user wants to add to their cart.
the sku of the product.
Changes the amount of a specific shoppingItem the logged in user has in their shoppingCart.
the amount of a product the user wants to have in their shoppingCart.
the id of the shoppingItem.
Deletes a shoppingItem in the shoppingCart of a logged in user.
the id of the shoppingItem.
retrieves the entire shoppingCart of the logged in user.
an IShoppingCart object
Front end service with filled in http requests for api endpoints
Author
Tim Denkers