版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

代码块
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=

...



Fields

Field

Data Type

Length

Mandatory

Description

referenceNoList

请求参数
String[]
订单的客户参考号dateCreated
-

orderNoList

请求参数

订单的系统订单号

Request field

Reference No list of fulfillment

orderNoList

String[]-

订单创建时间

orderNo

-

系统订单号

originOrderNo

-

原系统订单号

originReferenceNo

-

原客户参考号

outboundDate

-

出库时间

packingDetails

-

装箱明细

forecastProductCount

-

商品预报数量

productCount

-

商品实际数量

sku

-

商品编码

skuNameEn

-

商品英文名

skuNameLocal

-

商品中文名

referenceNo

-

客户参考号

serviceName

-

服务名称

shipperName

-

发货人名称

shipperWarehouseCode

-

发货仓库代码

status

-

订单状态

0:已创建

1:已接收

2:下单异常

3:拦截中

4:已取消

5:已出库

6:已废弃

7:出库异常

statusMsg

-

订单状态文本信息

totalForecastProductCount

-

订单总商品预报数量

totalProductCount

-

订单实际总商品数量

totalVolume

-

总体积

totalVolumeUnit

-

体积单位

totalWeight

-

总重量

totalWeightUnit

-

重量单位

trackingNo

-

追踪号

packageActualBillingWeight

-

实际计费重量(KG)

packageActualWeight

-

实际包裹重量(KG)

packageActualVolume

-

实际包裹体积(CBM)

packageHeight

-

包裹高度(CM)

packageLength

-

包裹长度(CM)

packageWidth

-

包裹宽度(CM)

code

-

编码内容

errors

-

报错

message

-

返回信息

messageId

-

信息编码

success

-

成功响应

warnList

-

废弃字段

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-

-

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:Created

1:Accepted

2:Sending abnormality

3:Intercepting

4:Canceled

5:Outbound

6:Abandoned

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

...