...
| 代码块 | ||||||
|---|---|---|---|---|---|---|
| ||||||
{
"warehouseCode": "CATESTWHCanadaWarehouse",
"country": "CNCA",
"state": "四川省AB",
"city": "广元市HAYNES",
"district": "利州区",
"postCode": "123432T0C0Y0",
"parcelList": [
{
"parcelWeight": 12,
"parcelLength": 311,
"parcelWidth": 412,
"parcelHeight": 513,
"productList": [
{
"sku": "SKGCATESTSKU",
"productQty": 2
},
{
"sku": "Red wineCATESTSKU_001",
"productQty": 12
}
]
},
{
"parcelWeight": null2,
"parcelLength": null11,
"parcelWidth": null12,
"parcelHeight": null13,
"productList": [
{
"sku": "SKGCATESTSKU_002",
"productQty": 2
},
{
"sku": "Red wineCATESTSKU_003",
"productQty": 12
}
]
},
{
"parcelWeight": 2,
"parcelLength": 3,
"parcelWidth": 4,
"parcelHeight": 5,
"productList": []
}
]
} |
响应字段
...
字段名
...
数据类型
...
最大长度
]
} |
响应字段
字段名 | 数据类型 | 最大长度 | 描述 |
|---|---|---|---|
channelName | String | 服务名称 | |
| channelId | Long | 服务id | |
| lastMileBillingWeight | Decimal | 派送费计费重量 | |
| feeItemList | Array | 费用列表 |
...
| 代码块 | ||||
|---|---|---|---|---|
| ||||
{
"code": "0",
"data": [
{
"channelName": "TESTCA PUROLATORDomestic GROUND",CPC "feeItemList": [
{
FOR OVERSEAS WH",
"billingWeightfeeItemList": "",[
{
"costType": 8,
"costTypeNamebillingWeight": "Last Mile Fee",
"currencycostType": "CAD"1,
"discountcostTypeName": 0"Outbound Handling Fee",
"feecurrency": 67.400"CAD",
"feeDetailListdiscount": [0,
{ "fee": 81.000,
"costTypeNamefeeDetailList": "尾程基本运费",
}
"costTypeNameEn": "Last Mile Basic Fee", ]
},
{
"currencychannelName": "CAD加拿大运输",
"feeItemList": [
"discount": "",
{
"feebillingWeight": 67.40000000"",
"costType": 1,
"zoneItemName": "" "costTypeName": "Outbound Handling Fee",
} "currency": "CAD",
] }"discount": 0,
] },
"fee": 81.000,
{ "channelNamefeeDetailList": "易仓下单专用服务(勿动)",
"feeItemList": [ },
{
"billingWeight": ""10.000,
"costType": 8,
"costTypeName": "Last Mile Fee",
"currency": "CAD",
"discount": 0,
"fee": 191256.370700,
"feeDetailList": [
{
"costTypeName": "尾程基本运费",
"costTypeNameEn": "Last Mile Basic Fee",
"currency": "CAD",
"discount": "",
"fee": 6742.4000000000000000,
"zoneItemName": "加拿大分区"
},
{
"costTypeName": "偏远地区附加费",
"costTypeNameEn": "Remote Area Surcharge",
"currency": "CAD",
"discount": "",
"fee": 1965.0000000,
"zoneItemName": ""
},
{
""
"costTypeName": "燃油附加费", },
"costTypeNameEn": "Fuel Surcharge",{
"currencycostTypeName": "CAD燃油附加费",
"discountcostTypeNameEn": "Fuel Surcharge",
"feecurrency": 8.64000000000000"CAD",
"zoneItemNamediscount": "",
}, "fee": 10.70000000000000,
{ "zoneItemName": ""
"costTypeName": "安全管理费", },
"costTypeNameEn": "Security Surcharge",{
"currencycostTypeName": "CAD安全管理费",
"discountcostTypeNameEn": "Security Surcharge",
"feecurrency": 13.48000000000000"CAD",
"zoneItemNamediscount": "",
}, "fee": 10.00000,
{ "zoneItemName": ""
"costTypeName": "其它附加费", },
"costTypeNameEn": "Other Surcharge",{
"currencycostTypeName": "CAD其它附加费",
"discountcostTypeNameEn": "Other Surcharge",
"feecurrency": 20.22000000000000"CAD",
"zoneItemNamediscount": "",
}, "fee": 10.00000,
{ "zoneItemName": ""
"costTypeName": "住宅地址附加费", },
"costTypeNameEn": "Residential Surcharge",{
"currencycostTypeName": "CAD住宅地址附加费",
"discountcostTypeNameEn": "Residential Surcharge",
"feecurrency": 26.96000000000000"CAD",
"zoneItemNamediscount": "",
}, "fee": 100.00000000,
{ "zoneItemName": ""
"costTypeName": "电池附加费", },
"costTypeNameEn": "Battery Surcharge", {
"currencycostTypeName": "CAD电池附加费",
"discountcostTypeNameEn": "Battery Surcharge",
"feecurrency": 33.70000000000000"CAD",
"zoneItemNamediscount": "",
}, "fee": 10.00000,
{ "zoneItemName": ""
"costTypeName": "保险", },
"costTypeNameEn": "Insurance Fee", {
"currencycostTypeName": "CAD加拿大海运费",
"discountcostTypeNameEn": "Canadaseafee",
"feecurrency": 1.970"CAD",
"zoneItemNamediscount": "",
} "fee": 9.0000000,
] } "zoneItemName": ""
] }, { }
"channelName": "卡派(测试)", ]
"feeItemList": [] }, }
{ ]
"channelName": "OFFLINE_PICKUP_EXPRESS", }
],
"feeItemListerrors": []"",
}"message": "",
"messageId": "",
{ "success": true,
"channelName": "OFFLINE_PICKUP_TRUCK",
"feeItemList": []
},
{
"channelName": "MINXI_C",
"feeItemList": []
}
],
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
}"warnList": ""
} |
备注信息(需注意):
1、shipper仓库禁用,报错:"message": "shipperAddressCode:CanadaWarehouse,Relevant warehouse do not active in shipper";
2、shipper与仓库不匹配,报错:"message":"shipperAddressCode:CanadaWarehousetest,Relevant warehouse do not exist in shipper";
3、shipper商品禁用,报错:"message": "SKU:[CATESTSKU] has been disabled";
4、shipper与商品不匹配:报错:"message": "sku:CATESTSKUtest,Does not exist in the selected shippers commodity wareHouse";
5、国家不存在(只校验了国家二字码,全称也会直接报错):报错:"message": "Field country value:Canada is invalid";
6、sku信息为空,校验包裹重量、长、宽、高不能为空,不能为负数,不能为0,小数点前后位数无限制与界面的一致,否则报错:"message": "parcelList[\{1}] parcelLength,parcelWidth,parcelHeight,parcelWeight must be filled in and positive"、"message": "Field parcelList[0].parcelWeight cannot be less than 0.001";
7、sku数量校验不能为空,不能为负数,不能为0,否则报错: "message": "parcelList[0].productList[0].productQty cant be null"、 "message": "Field parcelList[0].productList[0].productQty cannot be less than 1";
8、sku校验不能为空,否则报错: "message": "parcelList[0].productList[0].sku cant be null";