Shopping Cart Manipulation

Requests grouped to order management let you retrieve information about your orders, both where you're buyer or seller, as well as change their states (mark them as sent, received, etc.).

Resource Allowed HTTP Methods Description
/shoppingcart GET Returns the Shopping Cart entity for the authenticated user.
PUT Adds or removes article(s) to or from the authenticated user's shopping cart.
DELETE Empties the authenticated user's shopping cart.
/shoppingcart/checkout PUT Checks out the authenticated user's shopping cart and creates the respective orders. The most orders possible will be paid from the user's account balance.
/shoppingcart/shippingaddress PUT Changes the authenticated user's shipping address for all reservations in the shopping cart. This address becomes active and will be attached to the created orders after the checkout.
/shoppingcart/shippingMethod/:idReservation GET Returns the all possible Shipping Method entities for the specified reservation within the authenticated user's shopping cart.
PUT Changes the shipping method of a specified reservation in the authenticated user's shopping cart.