December 2019
Intermediate to advanced
510 pages
11h 33m
English
As we've already mentioned, the cart service takes care of the operations that are performed on the cart page of the e-commerce store. Moreover, the service exposes the following route table:
| HttpVerb | URL | Description |
| GET | api/cart/{cartId} | This action retrieves information about a specific cart and its inner products. |
| POST | api/cart | This action creates a new cart with a list of products specified in the body payload of the request. |
| PUT | api/cart/{cartId}/items/{id} | This action increases the quantity of the specified item in the specified cartId by adding one unit. |
| DELETE | api/cart/{cartId}/items/{id} | This action decreases the quantity of the specified item in the specified cartId by removing ... |
Read now
Unlock full access