描述


获取出库单数据,最多查询300个

路径


HTTP Verb

URL

POST

/api/supplier-service/v1/b2c/orderList


请求头样例


POST /api/supplier-service/v1/b2c/orderList HTTP/1.1
Host: http://cfs-qa.etowertech.com/
Content-Type: application/json
Accept: application/json
Authorization:WallTech etotest8xkIIphLnbkjRACNj4P:pc9H97D-_b2_TSCVvNj81A
X-WallTech-Date:Tue, 02 Aug 2022 06:43:37 GMT

字段


字段名数据类型最大长度必填性描述
orderNoList
List300O订单号
referenceNoList
List300O订单参考号


请求样例


客户参考号样例:

{

"referenceNoList":[
"EC03142"
]
}


系统订单号样例:


{

"orderNoList":[
"C12283230314000003O"
]
}



返回样例


字段名

数据类型

最大长度

必填性

描述

referenceNoList



请求参数

订单的客户参考号

orderNoList



请求参数

订单的系统订单号

dateCreated



-

订单创建时间

orderNo



-

系统订单号

platformRefNo

-平台参考号
platformSource

-平台来源(见附件表:平台名称)

originOrderNo



-

原系统订单号

originReferenceNo



-

原客户参考号

transactionAmount

-交易金额
transactionCurrency

-交易币种

outboundDate



-

出库时间

submissionDate


提交时间
cancelDate

-取消时间
cancelResult

-取消结果
abnormalCauses

-异常原因

packingDetails



-

装箱明细

forecastProductCount



-

商品预报数量

productCount



-

商品实际出库数量

sku



-

商品编码

skuNameEn



-

商品英文名

skuNameLocal



-

商品中文名

referenceNo



-

客户参考号

serviceName



-

服务名称

keepShipService

-锁定选用服务
shipmentCarrier

-承运商
shipmentService

-承运服务

shipperName



-

发货人名称

shipperWarehouseCode



-

发货仓库代码

status



-

订单状态

0:已创建

1:已接收

2:下单异常

3:拦截中

4:已取消

5:已出库

6:已废弃

7:出库异常

statusMsg



-

订单状态文本信息

totalForecastProductCount



-

订单总商品预报数量

totalProductCount



-

订单实际总商品数量

serialNumber

-商品序列号:多个序列号会拼接展示

totalVolume



-

总体积

totalVolumeUnit



-

体积单位

totalWeight



-

总重量

totalWeightUnit



-

重量单位

trackingNo



-

追踪号

packageActualBillingWeight



-

实际计费重量(KG)

packageActualWeight



-

实际包裹重量(KG)

packageActualVolume



-

实际包裹体积(CBM)

packageHeight



-

包裹高度(CM)

packageLength



-

包裹长度(CM)

packageWidth



-

包裹宽度(CM)

remark

-

订单备注

code



-

编码内容

errors



-

报错

message



-

返回信息

messageId



-

信息编码

success



-

成功响应

warnList



-

废弃字段



未拆单成功样例:

{
    "code": "0",
    "data": [
        {
            "abnormalCauses": "测试异常原因",
            "cancelDate": "2023-03-30 15:44:18",
            "cancelResult": "取消不成功",
            "dateCreated": "2022-12-15 17:34:05",
            "keepShipService": true,
            "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",
                    "serialNumber": "",
                    "sku": "SKG(TEST)",
                    "skuNameEn": "SKG",
                    "skuNameLocal": "SKG颈部按摩器"
                }
            ],
            "platformRefNo": "vmrkorp-w",
            "platformSource": "eBay",
            "referenceNo": "WY_00001",
            "remark": "",
            "serviceName": "DHL_UK",
            "shipmentCarrier": "",
            "shipmentService": "",
            "shipperName": "XZ12",
            "shipperWarehouseCode": "GBPGO",
            "status": 5,
            "statusMsg": "Outbound",
            "totalForecastProductCount": "2",
            "totalProductCount": "2",
            "totalVolume": 0.002,
            "totalVolumeUnit": "cbm",
            "totalWeight": 2.000,
            "totalWeightUnit": "KG",
            "trackingNo": "ER2313",
            "transactionAmount": 12.330,
            "transactionCurrency": "45.55"
        }
    ],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}

未拆单失败样例:

{
    "code": "0",
    "data": [],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}


拆单成功样例:

{
    "code": "0",
    "data": [
        {
            "abnormalCauses": "",
            "cancelDate": "",
            "cancelResult": "",
            "dateCreated": "2023-03-14 11:28:07",
            "keepShipService": false,
            "orderNo": "C12283230314000005O",
            "originOrderNo": "C12283230314000003O",
            "originReferenceNo": "EC03142",
            "outboundDate": "",
            "packageActualBillingWeight": "",
            "packageActualVolume": "",
            "packageActualWeight": "",
            "packageHeight": "",
            "packageLength": "",
            "packageWidth": "",
            "packingDetails": [
                {
                    "forecastProductCount": "4",
                    "productCount": "",
                    "sku": "wine bottle opener",
                    "skuNameEn": "wine bottle opener",
                    "skuNameLocal": "红酒开瓶器"
                }
            ],
            "platformRefNo": "",
            "platformSource": "Aliexpress",
            "referenceNo": "EC03142-2",
            "remark": "REMARK",
            "serviceName": "PUROLATOR_GROUND",
            "shipmentCarrier": "",
            "shipperName": "XZ12",
            "shipperWarehouseCode": "CATESTWH",
            "status": 0,
            "statusMsg": "Created",
            "totalForecastProductCount": "4",
            "totalProductCount": "0",
            "totalVolume": 0.002,
            "totalVolumeUnit": "cbm",
            "totalWeight": 2.000,
            "totalWeightUnit": "KG",
            "trackingNo": "",
            "transactionAmount": 100.000,
            "transactionCurrency": "CNY"
        },
        {
            "abnormalCauses": "",
            "cancelDate": "",
            "cancelResult": "",
            "dateCreated": "2023-03-14 11:26:39",
            "keepShipService": false,
            "orderNo": "C12283230314000003O",
            "originOrderNo": "C12283230314000003O",
            "originReferenceNo": "EC03142",
            "outboundDate": "",
            "packageActualBillingWeight": "",
            "packageActualVolume": "",
            "packageActualWeight": "",
            "packageHeight": "",
            "packageLength": "",
            "packageWidth": "",
            "packingDetails": [
                {
                    "forecastProductCount": "3",
                    "productCount": "",
                    "sku": "cushion",
                    "skuNameEn": "cushion",
                    "skuNameLocal": "坐垫"
                }
            ],
            "platformRefNo": "",
            "platformSource": "Aliexpress",
            "referenceNo": "EC03142-1",
            "remark": "REMARK",
            "serviceName": "PUROLATOR_GROUND",
            "shipmentCarrier": "",
            "shipperName": "XZ12",
            "shipperWarehouseCode": "CATESTWH",
            "status": 0,
            "statusMsg": "Created",
            "totalForecastProductCount": "3",
            "totalProductCount": "0",
            "totalVolume": 0.075,
            "totalVolumeUnit": "cbm",
            "totalWeight": 6.000,
            "totalWeightUnit": "KG",
            "trackingNo": "",
            "transactionAmount": 100.000,
            "transactionCurrency": "CNY"
        }
    ],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}

拆单失败样例:

{
    "code": "0",
    "data": [],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}