«
| addressId | country | province | city | district | ward | default |
|---|---|---|---|---|---|---|
| VN_01 | Việt Nam | Thành phố Hà Nội | Quận Hà Đông | Phường Yên Nghĩa | true | |
| VN_02 | Việt Nam | Thành phố Hà Nội | Quận Hoàn Kiếm | Phường Chương Dương | ||
| VN_03 | Việt Nam | Tỉnh Bắc Giang | Huyện Lục Nam | Xã Trường Giang | ||
| VN_04 | Việt Nam | Thành phố Hồ Chí Minh | Quận 1 | Phường Bến Nghé | ||
| VN_05 | Việt Nam | Thành phố Hà Nội | Quận Hà Đông | Phường Văn Quán | ||
| TQ_01 | 中国大陆 | 广东省 | 广州市 | 黄埔区 | 云埔街道 |
| Khu vực | Cân nặng (kg) | Đơn giá (CNY) | Phí niêm yết (Ngoài khoảng niêm yết sẽ tính phí theo mốc) |
|---|---|---|---|
| Quận Hoàn Kiếm, Thành phố Hà Nội, Việt Nam | Từ 0 - 3 | 3.75 | Có |
| Quận Hoàn Kiếm, Thành phố Hà Nội, Việt Nam | Trên 3 - 5 | 4.65 | Có |
| Quận Hoàn Kiếm, Thành phố Hà Nội, Việt Nam | Trên 5 - 10 | 6.35 | Có |
| Quận Hoàn Kiếm, Thành phố Hà Nội, Việt Nam | Trên 10 - 15 | 11.3 | Có |
| Quận Hoàn Kiếm, Thành phố Hà Nội, Việt Nam | Trên 15 - 20 | 13.9 | Có |
| Quận Hoàn Kiếm, Thành phố Hà Nội, Việt Nam | Trên 20 - 25 | 16.2 | Có |
| Quận Hoàn Kiếm, Thành phố Hà Nội, Việt Nam | Trên 25 - 99999999 | 0.35 | |
| Tỉnh Bắc Giang, Việt Nam | Từ 0 - 3 | 6.05 | Có |
| Tỉnh Bắc Giang, Việt Nam | Trên 3 - 5 | 8.35 | Có |
| Tỉnh Bắc Giang, Việt Nam | Trên 5 - 10 | 12 | Có |
| Tỉnh Bắc Giang, Việt Nam | Trên 10 - 15 | 24.5 | Có |
| Tỉnh Bắc Giang, Việt Nam | Trên 15 - 20 | 32.5 | Có |
| Tỉnh Bắc Giang, Việt Nam | Trên 20 - 25 | 40.5 | Có |
| Tỉnh Bắc Giang, Việt Nam | Trên 25 - 99999999 | 1.2 |
| depositOnDemand | depositRateCode | isDefault |
|---|---|---|
| 45 | rate45 | true |
| 70 | rate70 | false |
| 100 | rate100 | false |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}"
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "${VN_01}"
}| X-Tenant | m26 |
|---|
{
"skus": ["3fa85f64-5717-4562-b3fc-2c963f66afa6s5689"],
"addressId": "${VN_01}",
"depositOnDemand": 100,
"depositRateCode": "${rate100}"
}{
"title": "Bad Request"
}| X-Tenant | m26 |
|---|
{
"skus": [],
"addressId": "${VN_01}",
"depositOnDemand": 100,
"depositRateCode": "${rate100}"
}{
"violations": [
{
"field": "skus",
"message": "must not be empty"
}
]
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": <skus>,
"addressId": <addressId>
}{
"title": "Bad Request"
}| skus | addressId | |
|---|---|---|
| "${VN_01}" | ||
| ["${skusId}"] |
| X-Tenant | m26 |
|---|
{
"addressId": "${VN_01}"
}{
"title": "Constraint Violation",
"violations": [
{
"field": "skus",
"message": "must not be empty"
},
{
"field": "skus",
"message": "must not be null"
}
]
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"]
}{
"title": "Constraint Violation",
"violations": [
{
"field": "addressId",
"message": "must not be null"
}
]
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "0345",
"depositOnDemand": 100,
"depositRateCode": "${rate100}"
}{
"title": "addressId_not_found"
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "${VN_01}",
"depositOnDemand": "string",
"depositRateCode": "${rate100}"
}{
"title": "Bad Request"
}Trả status 400 khi gửi lên tỷ lệ đặt cọc khác 100 đối với đơn nháp có địa chỉ nhận hàng là Trung Quốc
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| addressId | country | province | city | district | ward | default |
|---|---|---|---|---|---|---|
| TQ_01 | 中国大陆 | 广东省 | 广州市 | 黄埔区 | 云埔街道 | true |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${TQ_01}",
"depositOnDemand": <depositOnDemand>,
"depositRateCode": "<depositRateCode>",
"address": "địa chỉ Trung Quốc"
}{
"title": "deposit_on_demand_invalid"
}| depositOnDemand | depositRateCode | |
|---|---|---|
| 50 | ${rate45} | |
| 70 | ${rate70} |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"depositOnDemand": <depositOnDemand>,
"depositRateCode": "rate80",
"address": "địa chỉ Việt Nam"
}{
"title": "deposit_rate_invalid"
}| depositOnDemand | |
|---|---|
| 45 | |
| 70 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"depositOnDemand": 45,
"address": "địa chỉ Việt Nam"
}{
"title": "deposit_on_demand_invalid"
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"depositOnDemand": <depositOnDemand>,
"address": "địa chỉ Việt Nam"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"sku": "${skusId}"
}
],
"depositOnDemand": <depositOnDemand>
}
]
}| depositOnDemand | |
|---|---|
| 50 | |
| 100 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"address": "địa chỉ Việt Nam",
"couponCode": "coupon_not_exist"
}{
"title": "coupon_not_found"
}| code | valid_from | valid_to | apply_scopes | discount_type | formula | customer_limit | limit | fee_item | config | remaining |
|---|---|---|---|---|---|---|---|---|---|---|
| coupon_01 | A | A+10 | ["ORDER"] | AMOUNT | 1000 | 2 | 5 | [{"fee": "domestic_shipping", "maxValue": "5000"}] | {"single": true} | 0 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"address": "địa chỉ Việt Nam",
"couponCode": "${coupon_01}"
}{
"title": "coupon_limited"
}| code | valid_from | valid_to | apply_scopes | discount_type | formula | customer_limit | limit | fee_item | config | remaining |
|---|---|---|---|---|---|---|---|---|---|---|
| coupon_01 | A-1 | A-10 | ["ORDER"] | AMOUNT | 1000 | 2 | 5 | [{"fee": "domestic_shipping", "maxValue": "5000"}] | {"single": true} | 5 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"address": "địa chỉ Việt Nam",
"couponCode": "${coupon_01}"
}{
"title": "coupon_currently_invalid"
}| code | valid_from | valid_to | apply_scopes | discount_type | formula | customer_limit | limit | fee_item | config | remaining |
|---|---|---|---|---|---|---|---|---|---|---|
| coupon_01 | A-1 | A+10 | ["SHIPMENT"] | AMOUNT | 1000 | 2 | 5 | [{"fee": "domestic_shipping", "maxValue": "5000"}] | {"single": true} | 5 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"address": "địa chỉ Việt Nam",
"couponCode": "${coupon_01}"
}{
"title": "coupon_not_apply_for_order"
}| code | valid_from | valid_to | apply_scopes | discount_type | formula | customer_limit | limit | fee_item | config | remaining |
|---|---|---|---|---|---|---|---|---|---|---|
| coupon_01 | A-1 | A+10 | ["ORDER"] | AMOUNT | 1000 | 2 | 5 | [{"fee": "domestic_shipping", "maxValue": "5000"}] | {"single": false} | 5 |
| coupon_02 | A-1 | A+10 | ["ORDER"] | AMOUNT | 1000 | 2 | 5 | [{"fee": "domestic_shipping", "maxValue": "5000"}] | {"single": false} | 5 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"address": "địa chỉ Việt Nam",
"couponCode": ["${coupon_01}", "${coupon_02}"]
}{
"title": "Bad Request"
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 10 | 1 |
| addressId | country | province | city | district | ward | default |
|---|---|---|---|---|---|---|
| TQ_01 | 中国大陆 | 广东省 | 广州市 | 黄埔区 | 云埔街道 | true |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId_01}"],
"addressId": "${TQ_01}",
"depositOnDemand": 100,
"depositRateCode": "${rate100}"
}{
"title": "quantity_product_ineligible"
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"depositRateCode": "<depositRateCode>",
"address": "địa chỉ Việt Nam"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"sku": "${skusId}"
}
],
"depositOnDemand": <depositOnDemand>
}
]
}| depositRateCode | depositOnDemand | |
|---|---|---|
| ${rate45} | 45.00 | |
| ${rate70} | 70.00 | |
| ${rate100} | 100.00 |
hệ thống sẽ lấy giá trị depositRateCode gửi lên và tạo đơn nháp thành công
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": [ "${skusId}"],
"addressId": "${VN_01}",
"depositRateCode": "${rate45}",
"depositOnDemand": <depositOnDemand>,
"address": "địa chỉ Việt Nam"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"sku": "${skusId}"
}
],
"depositOnDemand": 45.00
}
]
}| depositOnDemand | |
|---|---|
| 70 | |
| 50 |
hệ thống sẽ lấy tỷ lệ cọc của nhóm KH là tỷ lệ đặt cọc của đơn nháp.
| Mã nhóm | Tỉ lệ cọc | Bộ cấu hình chính sách |
|---|---|---|
| default | 50 | Bieu_phi_ap_dung_ngay_09_03_2024 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "${VN_01}"
}{
"orderViews": [
{
"status": "DRAFT",
"marketplace": "<marketPlace>",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"sku": "${skusId}"
}
],
"depositOnDemand": 50.00
}
]
}| marketPlace | |
|---|---|
| 1688 | |
| taobao | |
| tmall |
hệ thống sẽ lấy tỷ lệ cọc của tenant là tỷ lệ đặt cọc của đơn nháp.
| Mã nhóm | Tỉ lệ cọc | Bộ cấu hình chính sách |
|---|---|---|
| sabomall | Bieu_phi_ap_dung_ngay_09_03_2024 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "${VN_01}"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"sku": "${skusId}"
}
],
"depositOnDemand": 50.00
}
]
}| marketPlace | |
|---|---|
| 1688 | |
| taobao | |
| tmall |
Có thể gửi hoặc không gửi address và coupon.
| code | valid_from | valid_to | apply_scopes | discount_type | formula | customer_limit | limit | fee_item | config | remaining |
|---|---|---|---|---|---|---|---|---|---|---|
| coupon_01 | A | A+10 | ["ORDER"] | AMOUNT | 1 | 2 | 5 | [{"fee": "domestic_shipping", "maxValue": "5000"}] | {"single": true} | 5 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| addressId | country | province | city | district | ward | default |
|---|---|---|---|---|---|---|
| TQ_01 | 中国大陆 | 广东省 | 广州市 | 黄埔区 | 云埔街道 | true |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "${TQ_01}",
"depositOnDemand": 100,
"depositRateCode": "${rate100}",
"address": <address>,
"couponCode": <couponCode>
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"quantity": 1,
"currency": "CNY",
"sku": "${skusId}"
}
],
"services": ["domestic_shipping"],
"addressDisplay": <address>,
"depositOnDemand": 100,
"couponCode": <couponCode>
}
]
}| marketPlace | address | couponCode | |
|---|---|---|---|
| 1688 | null | null | |
| 1688 | "đây là địa chỉ TQ" | "${coupon_01}" | |
| taobao | null | null | |
| taobao | "đây là địa chỉ TQ" | "${coupon_01}" | |
| tmall | null | null | |
| tmall | "đây là địa chỉ TQ" | "${coupon_01}" |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| addressId | country | province | city | district | ward | default |
|---|---|---|---|---|---|---|
| TQ_01 | 中国大陆 | 广东省 | 广州市 | 黄埔区 | 云埔街道 | true |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "${TQ_01}",
"depositOnDemand": 100,
"address": "địa chỉ Trung Quốc"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"quantity": 1,
"currency": "CNY",
"sku": "${skusId}"
}
],
"addressDisplay": "địa chỉ Trung Quốc",
"depositOnDemand": 100
}
]
}Có thể gửi hoặc không gửi address và coupon.
| code | valid_from | valid_to | apply_scopes | discount_type | formula | customer_limit | limit | fee_item | config | remaining |
|---|---|---|---|---|---|---|---|---|---|---|
| coupon_01 | A | A+10 | ["ORDER"] | AMOUNT | 1 | 2 | 5 | [{"fee": "normal_shipping", "maxValue": "5000"}] | {"single": true} | 5 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "${VN_01}",
"depositOnDemand": <depositOnDemand>,
"depositRateCode": "<depositRateCode>",
"address": <address>,
"couponCode": <couponCode>
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"currency": "CNY",
"sku": "${skusId}"
}
],
"addressDisplay": <address>,
"depositOnDemand": <depositOnDemand>,
"couponCode": <couponCode>
}
]
}| marketPlace | address | couponCode | depositOnDemand | depositRateCode | |
|---|---|---|---|---|---|
| 1688 | null | "${coupon_01}" | 45 | ${rate45} | |
| taobao | "đây là địa chỉ TQ" | null | 70 | ${rate70} | |
| tmall | "đây là địa chỉ TQ" | "${coupon_01}" | 100 | ${rate100} |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 1 | 1 |
| merchant_02 | product_02 | skuId_02 | skusId_02 | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${VN_01}",
"depositOnDemand": 100,
"depositRateCode": "${rate100}"
}{
"orderViews": [
{
"marketplace": "<marketPlace>",
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"quantity": 1,
"currency": "CNY",
"marketplace": "<marketPlace>",
"sku": "${skusId_01}"
}
],
"services": [
"standard_shipping"
],
"addressId": "${VN_01}",
"depositOnDemand": 100
},
{
"marketplace": "<marketPlace>",
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_02}",
"skuId": "${skuId_02}",
"quantity": 1,
"currency": "CNY",
"marketplace": "<marketPlace>",
"sku": "${skusId_02}"
}
],
"services": [
"standard_shipping"
],
"addressId": "${VN_01}",
"depositOnDemand": 100
}
]
}| marketPlace | |
|---|---|
| 1688 | |
| taobao |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 1 | 1 |
| merchant_02 | product_02 | skuId_02 | skusId_02 | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${VN_01}",
"depositOnDemand": 100,
"depositRateCode": "${rate100}"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"quantity": 1,
"currency": "CNY",
"marketplace": "tmall",
"sku": "${skusId_01}"
}
],
"services": [
"standard_shipping"
],
"addressId": "${VN_01}"
},
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_02}",
"skuId": "${skuId_02}",
"quantity": 1,
"currency": "CNY",
"marketplace": "tmall",
"sku": "${skusId_02}"
}
],
"services": [
"standard_shipping"
],
"addressId": "${VN_01}"
}
]
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 1 | 1 |
| merchant_01 | product_02 | skuId_02 | skusId_02 | 1 | 1 | 1 |
| addressId | country | province | city | district | ward | default |
|---|---|---|---|---|---|---|
| TQ_01 | 中国大陆 | 广东省 | 广州市 | 黄埔区 | 云埔街道 | true |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${TQ_01}",
"depositOnDemand": 100,
"depositRateCode": "${rate100}"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"quantity": 1,
"currency": "CNY",
"sku": "${skusId_01}"
},
{
"itemId": "${product_02}",
"skuId": "${skuId_02}",
"quantity": 1,
"currency": "CNY",
"sku": "${skusId_02}"
}
],
"services": ["domestic_shipping"],
"addressId": "${TQ_01}",
"depositOnDemand": 100
}
]
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 1 | 1 |
| merchant_01 | product_01 | skuId_02 | skusId_02 | 1 | 1 | 1 |
| addressId | country | province | city | district | ward | default |
|---|---|---|---|---|---|---|
| TQ_01 | 中国大陆 | 广东省 | 广州市 | 黄埔区 | 云埔街道 | true |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${TQ_01}",
"depositOnDemand": 100,
"depositRateCode": "${rate100}"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"quantity": 1,
"currency": "CNY",
"sku": "${skusId_01}"
},
{
"itemId": "${product_01}",
"skuId": "${skuId_02}",
"quantity": 1,
"currency": "CNY",
"sku": "${skusId_02}"
}
],
"services": ["domestic_shipping"],
"addressId": "${TQ_01}",
"depositOnDemand": 100
}
]
}| marketPlace | |
|---|---|
| 1688 | |
| taobao | |
| tmall |
| shop | skus_quantity |
|---|---|
| merchant_01 | 40 |
| merchant_02 | 40 |
| merchant_03 | 40 |
| merchant_04 | 40 |
| merchant_05 | 40 |
| shop | skus_quantity |
|---|---|
| merchant_01 | 40 |
| merchant_02 | 40 |
| merchant_03 | 40 |
| merchant_04 | 40 |
| merchant_05 | 10 |
| merchant_06 | 10 |
nếu địa chỉ đó nằm trong khu vực tính phí giao hàng của hệ thống
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize | weight |
|---|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | <quantity> | 1 | <quantity> | <weight> |
{
"skus": ["${skusId}"],
"addressId": "<addressId>"
} {
"orderViews": [
{
"addressId": "<addressId>",
"vietnamDomesticShippingFee": <vietnamDomesticShippingFee>,
}
],
}| quantity | weight | addressId | vietnamDomesticShippingFee | |
|---|---|---|---|---|
| 1 | 0 | ${VN_02} | null | |
| 1 | 3 | ${VN_02} | 3.75 | |
| 1 | 3.01 | ${VN_02} | 4.65 | |
| 1 | 25.1 | ${VN_02} | 16.55 | |
| 2 | 0 | ${VN_02} | null | |
| 2 | 3 | ${VN_02} | 6.35 | |
| 4 | 3.01 | ${VN_02} | 11.3 | |
| 1 | 0 | ${VN_03} | null | |
| 1 | 3 | ${VN_03} | 6.05 | |
| 1 | 3.01 | ${VN_03} | 8.35 | |
| 1 | 25.1 | ${VN_03} | 41.7 | |
| 2 | 0 | ${VN_03} | null | |
| 2 | 3 | ${VN_03} | 12 | |
| 4 | 3.01 | ${VN_03} | 24.5 |
nếu địa chỉ tạo đơn nháp không nằm trong danh sách khu vực tính phí giao hàng của hệ thống
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize | weight |
|---|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | <quantity> | 1 | <quantity> | <weight> |
{
"skus": [ "${skusId}"],
"addressId": "${VN_05}"
}{
"orderViews": [
{
"addressId": "${VN_05}",
"vietnamDomesticShippingFee": null
}
]
}| quantity | weight | |
|---|---|---|
| 1 | 0 | |
| 1 | 3 | |
| 1 | 3.01 | |
| 1 | 25.1 | |
| 2 | 0 | |
| 2 | 3 | |
| 4 | 3.01 |
phí VCNĐ Việt Nam tạm tính cho từng đơn nháp = cân nặng của sản phẩm * đơn giá vận chuyển được cấu hình theo địa chỉ giao hàng
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize | weight |
|---|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | <quantity> | 1 | <quantity> | <weight> |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize | weight |
|---|---|---|---|---|---|---|---|
| merchant_02 | product_02 | skuId_02 | skusId_02 | <quantity> | 1 | <quantity> | <weight> |
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${VN_02}"
}{
"orderViews": [
{
"addressId": "${VN_02}",
"vietnamDomesticShippingFee": <vietnamDomesticShippingFee>
},
{
"addressId": "${VN_02}",
"vietnamDomesticShippingFee": <vietnamDomesticShippingFee>
}
]
}| quantity | weight | vietnamDomesticShippingFee | |
|---|---|---|---|
| 1 | 0 | null | |
| 1 | 3 | 3.75 | |
| 1 | 3.01 | 4.65 | |
| 1 | 25.1 | 16.55 | |
| 2 | 0 | null | |
| 2 | 3 | 6.35 | |
| 4 | 3.01 | 11.3 |
phí VCNĐ Việt Nam tạm tính cho đơn = tổng cân nặng của các sản phẩm thuộc cùng merchant * đơn giá vận chuyển được cấu hình theo địa chỉ giao hàng
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize | weight |
|---|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | <quantity> | 1 | <quantity> | <weight> |
| merchant_01 | product_02 | skuId_02 | skusId_02 | <quantity> | 1 | <quantity> | <weight> |
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${VN_03}"
}{
"orderViews": [
{
"addressId": "${VN_03}",
"vietnamDomesticShippingFee": <vietnamDomesticShippingFee>
}
]
}| quantity | weight | vietnamDomesticShippingFee | |
|---|---|---|---|
| 1 | 0 | null | |
| 1 | 3 | 12 | |
| 1 | 3.01 | 12 | |
| 1 | 25.1 | 71.7 | |
| 2 | 0 | null | |
| 2 | 3 | 24.5 | |
| 4 | 3.01 | 40.5 |
phí VCNĐ Việt Nam tạm tính cho đơn = tổng cân nặng các sku của một sản phẩm * đơn giá vận chuyển được cấu hình theo địa chỉ giao hàng
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize | weight |
|---|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | <quantity> | 1 | <quantity> | <weight> |
| merchant_01 | product_01 | skuId_02 | skusId_02 | <quantity> | 1 | <quantity> | <weight> |
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${VN_04}"
}{
"orderViews": [
{
"addressId": "${VN_04}",
"vietnamDomesticShippingFee": <vietnamDomesticShippingFee>
}
]
}| quantity | weight | vietnamDomesticShippingFee | |
|---|---|---|---|
| 1 | 0 | null | |
| 1 | 3 | 6.35 | |
| 1 | 3.01 | 6.35 | |
| 1 | 25.1 | 25.3 | |
| 2 | 0 | null | |
| 2 | 3 | 11.3 | |
| 4 | 3.01 | 16.2 |
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 1 | 1 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_02 | product_02 | skuId_02 | skusId_02 | 1 | 1 | 1 |
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${VN_01}",
"depositRateCode": "${rate100}"
}{
"orderViews": [
{
"status": "DRAFT",
"marketplace": "<marketPlace>",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"sku": "${skusId_01}"
}
],
"depositOnDemand": 100.00
},
{
"status": "DRAFT",
"marketplace": "1688",
"orderItems": [
{
"itemId": "${product_02}",
"skuId": "${skuId_02}",
"sku": "${skusId_02}"
}
],
"depositOnDemand": 100.00
}
]
}| marketPlace | |
|---|---|
| taobao | |
| tmall |
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_02 | skuId_02 | skusId_02 | 1 | 1 | 1 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 1 | 1 |
{
"skus": ["${skusId_01}", "${skusId_02}"],
"addressId": "${VN_01}",
"depositRateCode": "${rate100}"
}{
"orderViews": [
{
"status": "DRAFT",
"marketplace": "<marketPlace>",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"sku": "${skusId_01}"
}
],
"depositOnDemand": 100.00
},
{
"status": "DRAFT",
"marketplace": "1688",
"orderItems": [
{
"itemId": "${product_02}",
"skuId": "${skuId_02}",
"sku": "${skusId_02}"
}
],
"depositOnDemand": 100.00
}
]
}| marketPlace | |
|---|---|
| taobao | |
| tmall |
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize | price_policy |
|---|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | <quantity> | 1 | <quantity> | <price_policy> |
{
"skus": ["${skusId_01}"],
"addressId": "${VN_01}",
"depositRateCode": "${rate100}"
}{
"orderViews": [
{
"status": "DRAFT",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}",
"sku": "${skusId_01}",
"quantity": <quantity>,
"price": <price>,
"totalValue": <totalValue>,
"pricePolicies": "<pricePolicyJson>"
}
]
}
]
}| quantity | price | totalValue | price_policy | pricePolicyJson | |
|---|---|---|---|---|---|
| 1 | 30 | 30 | [{"minQuantity":1,"salePrice":30.0},{"minQuantity":5,"salePrice":29.0}] | [{\"minQuantity\":1,\"salePrice\":30.0},{\"minQuantity\":5,\"salePrice\":29.0}] | |
| 4 | 30 | 120 | [{"minQuantity":1,"salePrice":30.0},{"minQuantity":5,"salePrice":29.0}] | [{\"minQuantity\":1,\"salePrice\":30.0},{\"minQuantity\":5,\"salePrice\":29.0}] | |
| 5 | 29 | 145 | [{"minQuantity":1,"salePrice":30.0},{"minQuantity":5,"salePrice":29.0}] | [{\"minQuantity\":1,\"salePrice\":30.0},{\"minQuantity\":5,\"salePrice\":29.0}] | |
| 6 | 29 | 174 | [{"minQuantity":1,"salePrice":30.0},{"minQuantity":5,"salePrice":29.0}] | [{\"minQuantity\":1,\"salePrice\":30.0},{\"minQuantity\":5,\"salePrice\":29.0}] | |
| 1 | 35 | 35 | [{"minQuantity":1,"salePrice":35.0}] | [{\"minQuantity\":1,\"salePrice\":35.0}] | |
| 10 | 35 | 350 | [{"minQuantity":1,"salePrice":35.0}] | [{\"minQuantity\":1,\"salePrice\":35.0}] |
| mã nhóm | tên nhóm |
|---|---|
| N4 | Thể thao và du lịch |
| categoryId1688 | hsCode |
|---|---|
| 01 | N4 |
| order_min_value | order_max_value | package_quantity |
|---|---|---|
| 0 | 300 | 1 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize | price | weight | categoryId |
|---|---|---|---|---|---|---|---|---|---|
| merchant_01 | product01 | sku01 | skusId | 1 | 1 | 1 | 4.6 | <weight> | 01 |
| X-Tenant | m26 |
|---|
{
"skus": ["${skusId}"],
"addressId": "${VN_01}",
"depositRateCode": "${rate100}"
}{
"orderViews": [
{
"internationalShippingFee": <internationalShippingFee>,
"membershipDiscount": <membershipDiscount>,
"membershipDiscountPercent": 10
}
]
}| precision | weight | internationalShippingFee | membershipDiscount | |
|---|---|---|---|---|
| 4 | 0.567 | 4.2130 | 0.4213 | |
| 2 | 3.5 | 20.84 | 2.09 |
| X-Tenant | m26 |
|---|
| X-Tenant | m26 |
|---|