...
| 代码块 |
|---|
POST /api/supplier-service/v1/b2c/orderList HTTP/1.1
Content-Type: application/json
Accept: application/json
User-Agent: Mozilla 5.0
Host: http://cfs-qa.etowertech.com/
X-WallTech-Date: Thu, 06 Aug 2020 06:36:24 GMT
Authorization: WallTech testLvs2jdug2qIoRsJyuxs:VaWNgikNP0NGcoxVCeWYid50MYQ= |
...
Field | Data Type | Length | Mandatory | Description | |||
|---|---|---|---|---|---|---|---|
referenceNoList | String[] | - | 请求参数 | 订单的客户参考号 Request field | Reference No list of fulfillment | ||
orderNoList | String[] | - | 请求参数 | 订单的系统订单号 Request field | Order No list of fulfillment | ||
dateCreated | DateTime | - | 订单创建时间 - | Created time | |||
orderNo | String | - | - | 系统订单号Order No | |||
originOrderNo | String | - | - | 原系统订单号Origin order No | |||
originReferenceNo | String | - | - | 原客户参考号Origin reference No | |||
outboundDate | DateTime | - | 出库时间 - | Outbound Time | |||
packingDetails | Object[] | - | - | 装箱明细parcel detail | |||
forecastProductCount | Int | -商品预报数量 | productCount | Int | - | 商品实际数量 - | Forecast Product qty in parcel |
productCount | Int | - | - | Actual Product qty in parcel | |||
sku | String | - | 商品编码 - | SKU code | |||
skuNameEn | String | - | - | 商品英文名Product name in English | |||
skuNameLocal | String | - | - | 商品中文名Product name in Chinese | |||
referenceNo | String | - | - | 客户参考号Reference No | |||
serviceName | String | - | 服务名称 - | Lastmile service name | |||
shipperName | String | - | - | 发货人名称Shipper name | |||
shipperWarehouseCode | String | - | - | 发货仓库代码Warehouse code of departure | |||
status | Int | - | - | 订单状态Order status 0:已创建0:Created 1:已接收1:Accepted 2:下单异常2:Sending abnormality 3:拦截中3:Intercepting 4:已取消4:Canceled 5:已出库5:Outbound 6:已废弃6:Abandoned 7:出库异常7:Outbound abnormality | |||
statusMsg | String | - | 订单状态文本信息 - | Order status detail | |||
totalForecastProductCount | Int | - | - | 订单总商品预报数量Total Forecast Product qty in parcel | |||
totalProductCount | Int | - | - | 订单实际总商品数量Total Actual Product qty in parcel | |||
totalVolume | BigDecimal | (8,3) | - | 总体积Total volume | |||
totalVolumeUnit | String | - | - | 体积单位Volume unit | |||
totalWeight | BigDecimal | (8,3) | - | 总重量Total weight | |||
totalWeightUnit | String | - | - | 重量单位Weight unit | |||
trackingNo | String | - | - | 追踪号Tracking No of parcel | |||
packageActualBillingWeight | BigDecimal | (8,3) | - | 实际计费重量Actual parcel weight for billing(KG) | |||
packageActualWeight | BigDecimal | (8,3) | - | 实际包裹重量Actual parcel weight(KG) | |||
packageActualVolume | BigDecimal | (8,3) | - | 实际包裹体积Actual parcel volume(CBM) | |||
packageHeight | BigDecimal | (8,1) | - | 包裹高度Actual parcel height(CM) | |||
packageLength | BigDecimal | (8,1) | - 包裹长度 | Actual parcel length(CM) | |||
packageWidth | BigDecimal | (8,1) | - | 包裹宽度Actual parcel width(CM) | |||
code | String | - | - | 编码内容Response code | |||
errors | Object[] | - | - | 报错Response error | |||
message | String | - | - | 返回信息Response message | |||
messageId | String | - | - | 信息编码Response message ID | |||
success | Boolean | - | - | 成功响应Success | |||
warnList | - | - | 废弃字段- | No use |
Request Sample
sample of referenceNo:
| 代码块 |
|---|
{
"referenceNoList":[
"WY_00001"
]
} |
...
| 代码块 |
|---|
{
"orderNoList":[
"C12283221215000056O"
]
} |
Response Sample
未拆单成功样例failed to split order sample:
| 代码块 |
|---|
{
"code": "0",
"data": [
{
"dateCreated": "2022-12-15 17:34:05",
"orderNo": "C12283221215000056O",
"originOrderNo": "",
"originReferenceNo": "",
"outboundDate": "2022-12-15 17:34:10",
"packageActualBillingWeight": 2.000,
"packageActualVolume": 0.010,
"packageActualWeight": "",
"packageHeight": 15.000,
"packageLength": 15.000,
"packageWidth": 35.000,
"packingDetails": [
{
"forecastProductCount": "2",
"productCount": "2",
"sku": "SKG(TEST)",
"skuNameEn": "SKG",
"skuNameLocal": "SKG颈部按摩器"
}
],
"referenceNo": "WY_00001",
"serviceName": "DHL_UK",
"shipperName": "XZ12",
"shipperWarehouseCode": "GBPGO",
"status": 5,
"statusMsg": "Outbound",
"totalForecastProductCount": "2",
"totalProductCount": "2",
"totalVolume": 0.002,
"totalVolumeUnit": "cbm",
"totalWeight": 2.000,
"totalWeightUnit": "KG",
"trackingNo": "ER2313"
}
],
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
} |
拆单成功样例success split order sample:
| 代码块 |
|---|
{
"code": "0",
"data": [
{
"dateCreated": "2022-12-21 16:41:22",
"orderNo": "C12283221221000018O",
"originOrderNo": "C12283221221000016O",
"originReferenceNo": "WY_00005",
"outboundDate": "2022-12-21 16:41:31",
"packageActualBillingWeight": 3.000,
"packageActualVolume": 0.020,
"packageActualWeight": "",
"packageHeight": 20.000,
"packageLength": 25.000,
"packageWidth": 30.000,
"packingDetails": [
{
"forecastProductCount": "1",
"productCount": "1",
"sku": "SKG(TEST)",
"skuNameEn": "SKG",
"skuNameLocal": "SKG颈部按摩器"
},
{
"forecastProductCount": "1",
"productCount": "1",
"sku": "SKG(TEST)",
"skuNameEn": "SKG",
"skuNameLocal": "SKG颈部按摩器"
},
{
"forecastProductCount": "1",
"productCount": "1",
"sku": "Collecting lithographs(TEST)",
"skuNameEn": "collecting lithographs",
"skuNameLocal": "收藏字画(卷轴式)"
},
{
"forecastProductCount": "1",
"productCount": "1",
"sku": "Collecting lithographs(TEST)",
"skuNameEn": "collecting lithographs",
"skuNameLocal": "收藏字画(卷轴式)"
}
],
"referenceNo": "WY_00005-2",
"serviceName": "DHL_UK",
"shipperName": "XZ12",
"shipperWarehouseCode": "GBPGO",
"status": 5,
"statusMsg": "Outbound",
"totalForecastProductCount": "4",
"totalProductCount": "4",
"totalVolume": 0.010,
"totalVolumeUnit": "cbm",
"totalWeight": 6.000,
"totalWeightUnit": "KG",
"trackingNo": "41923870011592"
},
{
"dateCreated": "2022-12-21 16:41:13",
"orderNo": "C12283221221000016O",
"originOrderNo": "C12283221221000016O",
"originReferenceNo": "WY_00005",
"outboundDate": "2022-12-21 16:41:31",
"packageActualBillingWeight": 1.000,
"packageActualVolume": 0.000,
"packageActualWeight": "",
"packageHeight": 8.000,
"packageLength": 20.000,
"packageWidth": 15.000,
"packingDetails": [
{
"forecastProductCount": "1",
"productCount": "1",
"sku": "SKG(TEST)",
"skuNameEn": "SKG",
"skuNameLocal": "SKG颈部按摩器"
}
],
"referenceNo": "WY_00005-1",
"serviceName": "DHL_UK",
"shipperName": "XZ12",
"shipperWarehouseCode": "GBPGO",
"status": 5,
"statusMsg": "Outbound",
"totalForecastProductCount": "1",
"totalProductCount": "1",
"totalVolume": 0.001,
"totalVolumeUnit": "cbm",
"totalWeight": 1.000,
"totalWeightUnit": "KG",
"trackingNo": "41923870011591"
}
],
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
} |
...