«
| addressId | country | province | 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 |
| Mã đơn | Trạng thái | Dịch vụ |
|---|---|---|
| DH_01 | Chờ thanh toán | domestic_shipping |
| X-Tenant | m26 |
|---|
{
"force": true
}| Mã đơn | Trạng thái | Dịch vụ |
|---|---|---|
| DH_01 | Chờ thanh toán | domestic_shipping |
| X-Tenant | m26 |
|---|
{
"force": true
}| X-Tenant | m26 |
|---|
{
"force": true
}{
"title": "order_not_found"
}| Mã đơn | Trạng thái | Dịch vụ |
|---|---|---|
| DH_01 | Chờ xử lý | domestic_shipping |
{
"force": true
}{
"title": "Bad Request",
"detail": "Required header 'X-Tenant' is not present."
}| Mã đơn | Trạng thái | Dịch vụ |
|---|---|---|
| DH_01 | Chờ xử lý | domestic_shipping |
| X-Tenant | lala |
|---|
{
"force": true
}{
"title": "order_not_found"
}| merchantId | productId | skuId | stock |
|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | 0 |
| Mã đơn | Trạng thái | Mã đơn SBM |
|---|---|---|
| DH_01 | <status> | SBM_01 |
| X-Tenant | m26 |
|---|
{
"force": <force>
}{
"successList": [],
"failList": [
{
"itemId": "${product_01}",
"skus": [
{
"skuId": "${skuId_01}",
"quantity": 1
}
],
"marketplace": "1688",
"error": "out_of_stock"
}
]
}[]| status | force | |
|---|---|---|
| Chờ xử lý | true | |
| Chờ giao hàng | false | |
| Đang giao hàng | true | |
| Đã nhận hàng | false | |
| Huỷ bỏ | true |
lượng add giỏ bằng số lượng tồn của sản phẩm
| merchantId | productId | skuId | stock |
|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | 4 |
| merchantId | productId | skuId | skusId | quantity | order_quantity |
|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 3 | 3 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | <status> |
| X-Tenant | m26 |
|---|
{
"force": true
}{
"successList": [
{
"itemId": "${product_01}",
"skus": [
{
"skuId": "${skuId_01}",
"quantity": 1
}
],
"marketplace": "1688"
}
],
"failList": []
}[]không mua lại đơn hàng
| merchantId | productId | skuId | stock |
|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | 4 |
| merchantId | productId | skuId | skusId | quantity | order_quantity |
|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId | 3 | 3 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | <status> |
| X-Tenant | m26 |
|---|
{
"force": false
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 10 | 1 | 10 |
| merchant_01 | product_01 | skuId_02 | skusId_02 | 20 | 1 | 10 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | <status> |
| X-Tenant | m26 |
|---|
{
"force": true
}{
"successList": [
{
"itemId": "${product_01}",
"skus": [
{
"skuId": "${skuId_02}",
"quantity": 20
}
],
"marketplace": "<marketPlace>",
"affiliate": null
},
{
"itemId": "${product_01}",
"skus": [
{
"skuId": "${skuId_01}",
"quantity": 10
}
],
"marketplace": "<marketPlace>",
"affiliate": null
}
],
"failList": []
}| status | marketPlace | |
|---|---|---|
| Chờ xử lý | 1688 | |
| Chờ giao hàng | taobao | |
| Đang giao hàng | tmall | |
| Đã nhận hàng | 1688 | |
| Huỷ bỏ | taobao | |
| Đã hoàn tiền | tmall |
| 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 | 2 | 1 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | <status> |
| X-Tenant | m26 |
|---|
{
"force": true
}{
"successList": [
{
"itemId": "${product_02}",
"skus": [
{
"skuId": "${skuId_02}",
"quantity": 2
}
],
"marketplace": "<marketPlace>",
"affiliate": null
},
{
"itemId": "${product_01}",
"skus": [
{
"skuId": "${skuId_01}",
"quantity": 1
}
],
"marketplace": "<marketPlace>",
"affiliate": null
}
],
"failList": []
}| status | marketPlace | |
|---|---|---|
| Chờ xử lý | 1688 | |
| Chờ giao hàng | taobao | |
| Đang giao hàng | tmall | |
| Đã nhận hàng | 1688 | |
| Huỷ bỏ | 1688 | |
| Đã hoàn tiền | 1688 |
| merchantId | productId | skuId | skusId | quantity | order_quantity |
|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 1 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"force": false
}{
"successList": [
{
"itemId": "${product_01}",
"skus": [
{
"skuId": "${skuId_01}",
"quantity": 1
}
],
"marketplace": "1688",
"affiliate": null
}
],
"failList": []
}| 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ờ xử lý |
| X-Tenant | m26 |
|---|
<jsonBody>{ "title": "Bad Request"}| jsonBody | |
|---|---|
| {"force": } | |
| Mã đơn | Trạng thái | Mã đơn SBM |
|---|---|---|
| DH_01 | Chờ xử lý | SBM_01 |
| shop | skus_quantity |
|---|---|
| merchant_01 | 40 |
| merchant_02 | 40 |
| merchant_03 | 40 |
| merchant_04 | 40 |
| merchant_05 | 40 |
| X-Tenant | m26 |
|---|
{
"force": true
}{
"successList": [],
"failList": [
{
"marketplace": "1688",
"error": "too_manny_sku_in_cart"
}
]
}| merchantId | productId | skuId | skusId | quantity | order_quantity | batchSize |
|---|---|---|---|---|---|---|
| merchant_01 | product_01 | skuId_01 | skusId_01 | 10 | 1 | 10 |
| merchant_01 | product_02 | skuId_02 | skusId_02 | 20 | 1 | 10 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| shop | skus_quantity |
|---|---|
| merchant_02 | 50 |
| merchant_03 | 50 |
| merchant_04 | 50 |
| merchant_05 | 49 |
| X-Tenant | m26 |
|---|
{
"force": true
}{
"successList": [],
"failList": [
{
"marketplace": "1688",
"error": "too_manny_sku_in_cart"
}
]
}| 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 | 2 | 1 | 1 |
| merchant_01 | product_03 | skuId_03 | skusId_03 | 2 | 1 | 1 |
| merchant_01 | product_04 | skuId_04 | skusId_04 | 1 | 1 | 1 |
| merchant_01 | product_05 | skuId_05 | skusId_05 | 1 | 1 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"force": true
}{
"successList": [
{
"itemId": "${product_02}",
"skus": [
{
"skuId": "${skuId_02}",
"quantity": 2
}
],
"marketplace": "1688"
},
{
"itemId": "${product_01}",
"skus": [
{
"skuId": "${skuId_01}",
"quantity": 1
}
],
"marketplace": "1688"
},
{
"itemId": "${product_03}",
"skus": [
{
"skuId": "${skuId_03}",
"quantity": 2
}
],
"marketplace": "1688"
},
{
"itemId": "${product_04}",
"skus": [
{
"skuId": "${skuId_04}",
"quantity": 1
}
],
"marketplace": "1688"
},
{
"itemId": "${product_05}",
"skus": [
{
"skuId": "${skuId_05}",
"quantity": 1
}
],
"marketplace": "1688"
}
],
"failList": []
}| 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 | 2 | 1 | 1 |
| merchant_01 | product_03 | skuId_03 | skusId_03 | 2 | 1 | 1 |
| merchant_01 | product_04 | skuId_04 | skusId_04 | 1 | 1 | 1 |
| merchant_01 | product_05 | skuId_05 | skusId_05 | 1 | 1 | 1 |
| merchant_01 | product_06 | skuId_06 | skusId_06 | 1 | 1 | 1 |
| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"force": true
}{
"successList": [
{
"itemId": "${product_02}",
"skus": [
{
"skuId": "${skuId_02}",
"quantity": 2
}
],
"marketplace": "1688"
},
{
"itemId": "${product_01}",
"skus": [
{
"skuId": "${skuId_01}",
"quantity": 1
}
],
"marketplace": "1688"
},
{
"itemId": "${product_03}",
"skus": [
{
"skuId": "${skuId_03}",
"quantity": 2
}
],
"marketplace": "1688"
},
{
"itemId": "${product_04}",
"skus": [
{
"skuId": "${skuId_04}",
"quantity": 1
}
],
"marketplace": "1688"
},
{
"itemId": "${product_05}",
"skus": [
{
"skuId": "${skuId_05}",
"quantity": 1
}
],
"marketplace": "1688"
},
{
"itemId": "${product_06}",
"skus": [
{
"skuId": "${skuId_06}",
"quantity": 1
}
],
"marketplace": "1688"
}
],
"failList": []
}| Mã đơn | Trạng thái |
|---|---|
| DH_01 | Chờ xử lý |
| X-Tenant | m26 |
|---|
{
"force": true
}