Details
-
Story
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Scrum Sprint 1
Description
| CART | |||
|---|---|---|---|
| POST | /cart | If the user is anonymous (unable to fetch the user from the underlying http session), then it creates an anonymous cart. Otherwise, it create a cart linked to the user id. Return a cookie storing the cart id |
false |
| GET | /cart | Return the cart The cart id is taken from the cookie |
true |
| DELETE | /cart | Delete the cart The cart id is taken from the cookie |
false |
| POST | /cart/item | Update the cart by adding the cart item present in the body of the request The cart id is taken from the cookie |
false |
| PUT | /cart/item | Update the cart by updating the cart item quantity (only field which can be updated) The cart id is taken from the cookie |
false |
| DELETE | /cart/item/{itemId} | Update the cart by deleting the given cart item The cart id is taken from the cookie |
false |
Checklists
Acceptance criteria