版本比较

标识

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

...

代码块
POST /api/supplier-service/v1/b2b/poList
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

...


请求字段

字段名数据类型最大长度必填描述
warehouseCodeString50M仓库代码
countryString2M国家二字代码(CN, US ...)
stateString50M州(省)
cityString50M城市
districtString50M
postCodeString30M邮编
parcelList

Array

20M包裹列表

...

代码块
themeEclipse
linenumberstrue
collapsetrue
{
    "warehouseCode": "CATESTWH",
    "country": "CN",
    "state": "四川省",
    "city": "广元市",
    "district": "利州区",
    "postCode": "123432",
    "parcelList": [
        {
            "parcelWeight": 1,
            "parcelLength": 3,
            "parcelWidth": 4,
            "parcelHeight": 5,
            "productList": [
                {
                    "sku": "SKG",
                    "productQty": 2
                },
                {
                    "sku": "Red wine",
                    "productQty": 1
                }
            ]
        },
        {
            "parcelWeight": null,
            "parcelLength": null,
            "parcelWidth": null,
            "parcelHeight": null,
            "productList": [
                {
                    "sku": "SKG",
                    "productQty": 2
                },
                {
                    "sku": "Red wine",
                    "productQty": 1
                }
            ]
        },
        {
            "parcelWeight": 2,
            "parcelLength": 3,
            "parcelWidth": 4,
            "parcelHeight": 5,
            "productList": []
        }
    ]
}

...



响应字段


字段名

数据类型

最大长度

描述

channelName

String

服务名称

channelIdLong
服务id
lastMileBillingWeightDecimal
派送费计费重量
feeItemListArray
费用列表

...

字段名

数据类型

最大长度

描述

costTypeNameString
费用名称(中文)
costTypeNameEnString
费用名称(英文)

fee

Decimal

费用金额

currencyString
币种
discountInteger
折扣(%Off)
zoneItemNameString
费用分区

...

响应样例


代码块
linenumberstrue
collapsetrue
{
    "code": "0",
    "data": [
        {
            "channelName": "TEST PUROLATOR GROUND",
            "feeItemList": [
                {
                    "billingWeight": "",
                    "costType": 8,
                    "costTypeName": "Last Mile Fee",
                    "currency": "CAD",
                    "discount": 0,
                    "fee": 67.400,
                    "feeDetailList": [
                        {
                            "costTypeName": "尾程基本运费",
                            "costTypeNameEn": "Last Mile Basic Fee",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 67.40000000,
                            "zoneItemName": ""
                        }
                    ]
                }
            ]
        },
        {
            "channelName": "易仓下单专用服务(勿动)",
            "feeItemList": [
                {
                    "billingWeight": "",
                    "costType": 8,
                    "costTypeName": "Last Mile Fee",
                    "currency": "CAD",
                    "discount": 0,
                    "fee": 191.370,
                    "feeDetailList": [
                        {
                            "costTypeName": "尾程基本运费",
                            "costTypeNameEn": "Last Mile Basic Fee",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 67.40000000,
                            "zoneItemName": ""
                        },
                        {
                            "costTypeName": "偏远地区附加费",
                            "costTypeNameEn": "Remote Area Surcharge",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 19.0000000,
                            "zoneItemName": ""
                        },
                        {
                            "costTypeName": "燃油附加费",
                            "costTypeNameEn": "Fuel Surcharge",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 8.64000000000000,
                            "zoneItemName": ""
                        },
                        {
                            "costTypeName": "安全管理费",
                            "costTypeNameEn": "Security Surcharge",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 13.48000000000000,
                            "zoneItemName": ""
                        },
                        {
                            "costTypeName": "其它附加费",
                            "costTypeNameEn": "Other Surcharge",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 20.22000000000000,
                            "zoneItemName": ""
                        },
                        {
                            "costTypeName": "住宅地址附加费",
                            "costTypeNameEn": "Residential Surcharge",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 26.96000000000000,
                            "zoneItemName": ""
                        },
                        {
                            "costTypeName": "电池附加费",
                            "costTypeNameEn": "Battery Surcharge",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 33.70000000000000,
                            "zoneItemName": ""
                        },
                        {
                            "costTypeName": "保险",
                            "costTypeNameEn": "Insurance Fee",
                            "currency": "CAD",
                            "discount": "",
                            "fee": 1.970,
                            "zoneItemName": ""
                        }
                    ]
                }
            ]
        },
        {
            "channelName": "卡派(测试)",
            "feeItemList": []
        },
        {
            "channelName": "OFFLINE_PICKUP_EXPRESS",
            "feeItemList": []
        },
        {
            "channelName": "OFFLINE_PICKUP_TRUCK",
            "feeItemList": []
        },
        {
            "channelName": "MINXI_C",
            "feeItemList": []
        }
    ],
    "errors": "",
    "message": "",
    "messageId": "",
    "success": true,
    "warnList": ""
}

...