TNS-1239: Cart-Giỏ hàng
1. Route
Phương thức | Route | Mô tả |
---|---|---|
GET | /api/v1/auth/get/shop-order |
Lấy dữ liệu cart từ database |
POST | /api/v1/auth/post/shop-order |
Lưu dữ liệu từ cart lên database |
POST | /api/v1/auth/post/shop-order/update |
Lưu dữ liệu từ cart lên database (replace and remove) |
POST | /api/v1/auth/post/shop-order/checkout |
Checkout sản phẩm đã chọn |
2. Mô tả giao diện - DB: ecom.shop-order, ecom.shop-order-details
Trường -en | Trường -vi | Cột DB | Mô tả | Yêu cầu | Ví dụ |
---|---|---|---|---|---|
|
| ||||
|
| ||||
|
| ||||
|
| ||||
|