描述


获取出库单数据,最多查询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":[
"EC03141"
]
}

拆单订单:

{

"referenceNoList":[
"EC03142"
]
}


系统订单号样例:

未拆单订单:

{
    "orderNoList": [
        "C12283221215000056O"
    ]
}

拆单订单:

{

"orderNoList":[
"C12283230314000003O"
]
}



返回样例


字段名

数据类型

最大长度

必填性

描述

referenceNoList



请求参数

订单的客户参考号

orderNoList



请求参数

订单的系统订单号

订单信息
shipperId


发货人id
shipperName


发货人名称
shipperNameEn


发货人英文名

dateCreated



-

订单创建时间

referenceNo


客户参考号

orderNo



-

系统订单号

orderNoFba

-FBA ID
referenceNoFba


-FBA参考号
shipperWarehouseCode


发货仓库code
recipientWarehouseCode


收件人地址代码
isInsurance


是否使用保险服务
insuranceValue


-保险金额
insuranceValueCurrency


保险币种

dateShipping



-

出库时间

dateSending


提交时间
dateCancel

-取消时间
cancelResult

-取消结果
abnormalCauses

-异常原因
serviceName


服务名称
serviceCode


服务code
labelCount


标签数量
trunkCount


卡车数量
trayCount


托盘数量
pickingType


拣货类型code
pickingTypeMsg


拣货类型描述
stockType


库存类型code
stockTypeMsg


库存类型描述
trackingNoListList<String>

跟踪号列表 List类型
transportType


运输类型
transportTypeMsg


运输类型描述
outboundType


出库类型 code
outboundTypeMsg


出库类型描述
status


订单状态

0:已创建

1:已接收

2:下单异常

3:拦截中

4:已取消

5:已出库

6:已废弃

7:出库异常

statusMsg


状态描述
remark


备注
商品明细

packingDetails



-

装箱明细

boxNo


箱号

productCount



-

商品实际出库数量

sku



-

商品编码

skuNameEn



-

商品英文名

skuNameLocal



-

商品中文名

通用返回信息

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": ""
}