{
"success": true,
"data": {
"isAssistedOrdering": false,
"cartId": 14542,
"deliveryInfo": {
"userRetailerId": 4637,
"fullName": "Hoang Test",
"phone": "0111232131",
"fullAddress": "1234, Thị trấn An Phú, Huyện An Phú, An Giang"
},
"checkoutDetailInfo": {
"sellerInfos": [
{
"id": 32,
"shortName": "KIM LIEN",
"warehouseAddress": "127/8B, Phường An Hòa, Quận Ninh Kiều, Cần Thơ",
"hotline": "0939291426",
"warehouseAddressCity": "Cần Thơ",
"sellerDeliverySetting": {
"shippingTimeFrom": 2,
"shippingTimeTo": 3,
"freeshipFromOrderAmount": "300000.00",
"fixShippingFee": "3000.00"
},
"campaigns": []
}
],
"summaryOfCartsBySellerIds": {
"32": {
"totalItem": 11284000,
"isValid": true,
"discountOnItem": 60000,
"discountOnOrder": 0,
"itemPromotions": [
{
"id": 290,
"title": "1243314",
"type": "quantity_based",
"conditionConfig": null,
"resultConfig": null,
"notes": null,
"usageLimit": 0,
"unlimited": true,
"fundedBy": "SELLER",
"startAt": "2022-09-19T17:00:00.000Z",
"expireAt": "2022-10-28T16:59:59.059Z",
"active": true,
"createdAt": "2022-09-26T04:45:55.224Z",
"updatedAt": "2022-09-26T04:45:55.224Z",
"deletedAt": null,
"sellerId": 32,
"createdBy": 3677,
"isApplied": true,
"discount": 20000,
"discountKeyByVariantId": {
"5087": {
"discount": 60000,
"promotionId": 290,
"promotionUpdatedAt": "2022-09-26T04:45:55.224Z",
"promotionType": "quantity_based"
}
},
"promotionQuantityBasedVariants": [
{
"id": 37,
"promotionId": 290,
"variantId": 5087,
"createdAt": "2022-09-26T04:45:55.224Z",
"updatedAt": "2022-09-26T04:45:55.224Z",
"promotionQuantityBasedVariantRules": [
{
"id": 104,
"fromQuantity": 1,
"toQuantity": 9,
"discountValue": 0,
"rule": {
"event": {
"type": "applied",
"params": {
"value": true,
"discountValue": 0
}
},
"conditions": {
"all": [
{
"fact": "variantId",
"value": 5087,
"operator": "equal"
},
{
"fact": "quantity",
"value": 1,
"operator": "greaterThanInclusive"
},
{
"fact": "quantity",
"value": 9,
"operator": "lessThanInclusive"
}
]
}
},
"createdAt": "2022-09-26T04:45:55.224Z",
"updatedAt": "2022-09-26T04:45:55.224Z",
"promotionQuantityBasedVarian": 37
},
{
"id": 105,
"fromQuantity": 10,
"toQuantity": 19,
"discountValue": 10000,
"rule": {
"event": {
"type": "applied",
"params": {
"value": true,
"discountValue": 10000
}
},
"conditions": {
"all": [
{
"fact": "variantId",
"value": 5087,
"operator": "equal"
},
{
"fact": "quantity",
"value": 10,
"operator": "greaterThanInclusive"
},
{
"fact": "quantity",
"value": 19,
"operator": "lessThanInclusive"
}
]
}
},
"createdAt": "2022-09-26T04:45:55.224Z",
"updatedAt": "2022-09-26T04:45:55.224Z",
"promotionQuantityBasedVarian": 37
},
{
"id": 106,
"fromQuantity": 20,
"toQuantity": null,
"discountValue": 20000,
"rule": {
"event": {
"type": "applied",
"params": {
"value": true,
"discountValue": 20000
}
},
"conditions": {
"all": [
{
"fact": "variantId",
"value": 5087,
"operator": "equal"
},
{
"fact": "quantity",
"value": 20,
"operator": "greaterThanInclusive"
}
]
}
},
"createdAt": "2022-09-26T04:45:55.224Z",
"updatedAt": "2022-09-26T04:45:55.224Z",
"promotionQuantityBasedVarian": 37
}
]
}
]
}
],
"orderPromotions": [],
"discountKeyByVariantId": {
"5087": {
"discount": 60000,
"promotionId": 290,
"promotionUpdatedAt": "2022-09-26T04:45:55.224Z",
"promotionType": "quantity_based"
}
},
"volumeBasedPromotions": [],
"gifts": [],
"totalDiscount": 60000,
"totalPrice": 11224000,
"paidAmount": 11224000,
"lineItems": [
{
"id": 32280,
"title": null,
"images": null,
"variantUnit": null,
"sellingUnit": null,
"caseCount": null,
"quantity": 62,
"unitPrice": null,
"isGift": false,
"discount": "0.00",
"createdAt": "2022-09-26T04:33:25.195Z",
"updatedAt": "2022-09-26T05:05:39.324Z",
"cartId": 14542,
"variantId": 5087,
"productId": null,
"orderId": null,
"promotionId": null,
"promotionGiftId": null,
"variant": {
"id": 5087,
"images": [
"https://assets-stg.kilo.vn/variants/9JxUGa3BepXe.jpg"
],
"variantUnit": "chai",
"sellingUnit": "thùng",
"caseCount": 24,
"unitPrice": 182000,
"stock": 10000,
"active": true,
"minimumOrderQuantity": 1,
"product": {
"id": 1705,
"title": "SINH TỐ NHA ĐAM DÂU TÂY PHÚC LÂM 500ml",
"slug": null,
"barCode": "KIMLIEN-20",
"description": null,
"active": true,
"categoryId": 76,
"sellerId": 32,
"brandId": 93,
"deletedAt": null,
"brand": {
"id": 93,
"name": "Phúc Lâm"
},
"category": {
"id": 76,
"name": "Dinh dưỡng 1"
},
"seller": {
"mustHaveEpayment": true,
"id": 32,
"shortName": "KIM LIEN",
"hotline": "0939291426"
}
},
"promotions": []
}
}
],
"lineItemsCount": 1,
"earnedPoints": 0,
"redeemedPoints": 0,
"retailerShippingFee": 0
}
},
"isValid": true,
"totalItem": 11284000,
"totalDiscount": 60000,
"totalPrice": 11224000,
"totalPaidAmount": 11224000,
"lineItemsCount": 1,
"totalRedeemedPoints": 0,
"totalEarnedPoints": 0,
"totalRetailerShippingFee": 0
},
"paymentOptions": [
{
"paymentMethod": "COD",
"selected": true,
"name": "COD",
"image": "https://assets.kilo.vn/payment-methods/cod.png",
"description": "Thanh toán khi nhận hàng"
}
],
"paymentOptionsV2": [
{
"name": "COD",
"paymentMethod": "COD",
"selected": true,
"image": "https://assets.kilo.vn/payment-methods/cod.png",
"description": "Thanh toán khi nhận hàng"
}
]
}
}