| HTTP Method | Route | Action Name | Parameters | Return Type |
|---|---|---|---|---|
| GET |
api/cart/{boxId:int}
|
GetCart |
boxId
(Query)
|
Task<ActionResult<CartDto>>
|
| GET |
api/cart/{boxId:int}/Count
|
GetCartItemCount |
boxId
(Query)
|
Task<ActionResult<Object>>
|
| GET |
api/cart/{boxId:int}/History
|
GetCartHistory |
boxId
(Query)
fromDate
(Query)
toDate
(Query)
|
Task<ActionResult<IEnumerable<CartItemDto>>>
|
| POST |
api/cart/{boxId:int}/Session
|
CreateOrUpdateCartSession |
boxId
(Query)
sessionId
(Body)
|
Task<ActionResult<CartSessionDto>>
|
| GET |
api/cart/{boxId:int}/Statistics
|
GetCartStatistics |
boxId
(Query)
|
Task<ActionResult<CartStatisticsDto>>
|
| GET |
api/cart/{boxId:int}/Summary
|
GetCartSummary |
boxId
(Query)
|
Task<ActionResult<CartSummaryDto>>
|
| GET |
api/cart/{boxId:int}/Total
|
GetCartTotal |
boxId
(Query)
|
Task<ActionResult<Object>>
|
| POST |
api/cart/AddItem
|
AddItemToCart |
addToCartDto
(Body)
|
Task<ActionResult<CartOperationResultDto>>
|
| POST |
api/cart/AddMultiple
|
AddMultipleItemsToCart |
bulkOperation
(Body)
|
Task<ActionResult<CartOperationResultDto>>
|
| DELETE |
api/cart/Clear/{boxId:int}
|
ClearCart |
boxId
(Query)
|
Task<ActionResult<CartOperationResultDto>>
|
| DELETE |
api/cart/RemoveItem/{cartItemId:int}
|
RemoveItemFromCart |
cartItemId
(Query)
boxId
(Query)
|
Task<ActionResult<CartOperationResultDto>>
|
| PUT |
api/cart/UpdateMultiple
|
UpdateMultipleCartItems |
bulkOperation
(Body)
|
Task<ActionResult<CartOperationResultDto>>
|
| PUT |
api/cart/UpdateQuantity
|
UpdateItemQuantity |
updateDto
(Body)
|
Task<ActionResult<CartOperationResultDto>>
|
JS_Loading