...
| 代码块 |
|---|
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 |
字段
| 字段名 | 数据类型 | 最大长度 | 必填 | 描述 | |
|---|---|---|---|---|---|
| warehouseCode | String | 50 | M | 仓库代码 | |
| countryreferenceNo | String | 250 | M | 国家二字代码(CN, US ...) | state订单参考号 |
| originalOrderNo | String | 50 | MO | 州(省)原始订单号 | |
| cityeta | StringDate | 50O | M预计到达时间 | 城市 | |
| districtreturnReason | String | 50200 | M | 区退件原因 | |
| postCoderemark | String | 30200 | M | 邮编备注 | |
| parcelListexpressNoList | Array 20 | M | 包裹列表 |
parceList参数
| 跟踪号列表(至少一个) | ||||
| itemList | Array | M | 商品列表 |
productList参数
| 字段名 | 数据类型 | 最大长度 | 必填 | 描述 |
|---|---|---|---|---|
| sku | String | 50 | M | 商品编码 |
| productQty | Integer | M | 商品数量 | |
| handleType | Short | M | 处理方式;0=重新上架;1=退回国内;2=不良品;3=销毁;4=待检查;5=换标;6=产品升级 |
请求样例
| 代码块 | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"warehouseCodereferenceNo": "CATESTWHopenApi-xmx-001",
"countrywarehouseCode": "CNCATESTWH",
"stateoriginalOrderNo": "四川省C15487240411000002O",
"cityeta": "广元市",
"district": "利州区",
"postCode": "1234322025-12-02 23:59:59",
"parcelListreturnReason": [
{
"parcelWeight": 1,
"退件原因",
"parcelLengthremark": 3,
"parcelWidth备注": 4,
"parcelHeight": 5,
"productList""expressNoList": [
{
"sku": "SKG",
"qw",
"productQty": 2
"as"
},
{
"sku": "Red wine",
"productQty": 1
}
]
},
{
"parcelWeight": null,
"parcelLength": null,
"parcelWidth": null,
"parcelHeight": null,
"productList"itemList": [
{
"sku": "SKGTEST2024011602",
"productQty": 2
},
1,
{ "sku": "Red wine",
"productQty""handleType": 1
}
]
},
{
"parcelWeight": 2,
"parcelLength": 3,
"parcelWidth": 4,
"parcelHeight": 5,
"productList": []
}
]
} |
返回样例
...
fee
...
费用金额
...
feeDetailList参数
字段名
数据类型
最大长度
描述
fee
费用金额
字段名 | 数据类型 | 最大长度 | 描述 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
channelNamereferenceNo | String | 服务名称50 | channelId | Long | 服务id | lastMileBillingWeight | Decimal | 派送费计费重量 | feeItemList | Array | 费用列表 |
feeItemList参数
...
字段名
...
数据类型
...
最大长度
...
描述
订单参考号 | |||
| orderNo | String | 50 | 订单系统单号 |
响应
| 代码块 | ||||
|---|---|---|---|---|
| ||||
{
"code": "0",
"data": [ {
"channelNameorderNo": "TEST PUROLATOR GROUNDR15487241218000003O",
"feeItemListreferenceNo": [
{
"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": []
}
]"openApi-xmx-001"
},
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
} |
...