«
| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | Chờ thanh toán | M1_01 |
{
"title": "Bad Request",
"detail": "Required header 'X-Tenant' is not present."
}| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | Chờ thanh toán | M1_01 |
| X-Tenant | <tenant> |
|---|
{
"title": "order_not_found"
}| tenant | |
|---|---|
| m2 |
| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | Chờ thanh toán | M1_01 |
| X-Tenant | m26 |
|---|
| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | Chờ thanh toán | M1_01 |
| X-Tenant | m26 |
|---|
| X-Tenant | m26 |
|---|
{
"title": "order_not_found"
}| totalValue | marketplace |
|---|---|
| 0 | 1688 |
| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | <status> | M1_01 |
| X-Tenant | m26 |
|---|
{
"title": "<error>"
}| status | error | |
|---|---|---|
| Chờ xử lý | order_status_illegal | |
| Chờ giao hàng | original_invoice_code_already_exist | |
| Vận chuyển quốc tế | original_invoice_code_already_exist | |
| Đang giao hàng | original_invoice_code_already_exist | |
| Đã nhận hàng | original_invoice_code_already_exist | |
| Đã hoàn tiền | order_status_illegal | |
| Hủy bỏ | order_status_illegal |
| totalValue | marketplace |
|---|---|
| <totalValue> | 1688 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 10 | 1 | 10 |
| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | Chờ thanh toán | M1_01 |
| X-Tenant | m26 |
|---|
{
"title": "order_illegal"
}| marketPlace | totalValue | |
|---|---|---|
| taobao | 0 | |
| 1688 | 1000000000 |
| totalValue | marketplace |
|---|---|
| 0 | 1688 |
| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | Chờ thanh toán | M1_01 |
| X-Tenant | m26 |
|---|
{
"title": "original_invoice_code_already_exist"
}| totalValue | marketplace |
|---|---|
| 0 | 1688 |
| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | Chờ thanh toán | M1_01 |
| X-Tenant | m26 |
|---|
{
"originalInvoiceCode": ["${HDG1}"]
}| totalValue | marketplace |
|---|---|
| 0 | 1688 |
| addressId | country | province | district | ward | default |
|---|---|---|---|---|---|
| VN_01 | Việt Nam | Thành phố Hà Nội | Quận Hà Đông | Phường Văn Quán | true |
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 10 | 1 | 10 |
{
"skus": ["${skusId_01}"],
"addressId": "${VN_01}",
"depositOnDemand": 100
}{
"orderViews": [
{
"showSelfNegotiate": true
}
]
}| totalValue | marketplace |
|---|---|
| <totalValue> | 1688 |
| addressId | country | province | district | ward | default |
|---|---|---|---|---|---|
| VN_01 | Việt Nam | Thành phố Hà Nội | Quận Hà Đông | Phường Văn Quán | true |
| X-Tenant | m26 |
|---|
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 10 | 1 | 10 |
{
"skus": ["${skusId_01}"],
"addressId": "${VN_01}",
"depositOnDemand": 100
}{
"orderViews": [
{
"showSelfNegotiate": false
}
]
}| totalValue | marketPlace | |
|---|---|---|
| 0 | tmall | |
| 100000000 | 1688 |
| totalValue | marketplace |
|---|---|
| 0 | 1688 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 10 | 1 | 10 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ thanh toán |
| X-Tenant | m26 |
|---|
{
"orderViews" : [{"showSelfNegotiate": <showSelfNegotiate>}]
}| orderMarketPlace | showSelfNegotiate | |
|---|---|---|
| 1688 | true | |
| tmall | false |
| totalValue | marketplace |
|---|---|
| 0 | 1688 |
| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 10 | 1 | 10 |
| Mã đơn | Trạng thái | Mã mapping |
|---|---|---|
| DH_01 | Chờ thanh toán | M1_01 |
| X-Tenant | m26 |
|---|
{
"orderViews" : [
{"originalInvoiceCode": ["${HDGOO1}"]}
]
}| totalValue | marketplace |
|---|---|
| 0 | 1688 |
| draftCode | merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|---|
| draft_01 | merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 1 | 1 |
| draftCode | merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|---|
| draft_02 | merchant_02 | product_02 | skuId_02 | skusId_02 | 1 | 1 | 1 |
| X-Tenant | m26 |
|---|
| orderCodes | draft_01, draft_02 |
|---|
{
"orderViews": [
{
"code": "${draft_01}",
"orderItems": [
{
"itemId": "${product_01}",
"skuId": "${skuId_01}"
}
],
"showSelfNegotiate": true
},
{
"code": "${draft_02}",
"orderItems": [
{
"itemId": "${product_02}",
"skuId": "${skuId_02}"
}
],
"showSelfNegotiate": false
}
]
}