-
开发者必读
计算头程所需运费
POST http://openapi.ck1info.com/v1/pricing/inbound/box
接口说明: 计算头程所需运费输入参数
Body Parameters
名称 类型 格式要求 是否必须 描述 示例值 ServiceCode string 满足正则: ^[a-zA-Z0-9\-_]*$
长度: 0 ~ 30
发货服务代码
WarehouseId string 满足正则: ^[a-zA-Z0-9\-_]*$
长度: 0 ~ 10
必须
仓库代号
LocationId string 长度: 0 ~ 30
处理点
Boxes Collection of InboundBox None.
必须
箱子列表
IncludeUnsuccessful boolean None.
是否返回计价失败的服务
IsCustomsClearance boolean None.
是否代付关税手续费
IsBorrowTaxNo boolean None.
是否借用我司税号
{ "ServiceCode": "sample string 1", "WarehouseId": "sample string 2", "LocationId": "sample string 3", "Boxes": [ { "Weight": 1, "Length": 2, "Width": 3, "Height": 4, "Quantity": 5 }, { "Weight": 1, "Length": 2, "Width": 3, "Height": 4, "Quantity": 5 } ], "IncludeUnsuccessful": true, "IsCustomsClearance": true, "IsBorrowTaxNo": true }
返回结果
名称 类型 格式要求 是否必须 描述 示例值 ServiceCode string None.
服务代码
USRPP
ServiceName string None.
服务名称
美国本地快捷签收派送
Success boolean None.
是否计费成功
true
Message string None.
计费信息(不成功原因)
ChargeInfo ChargeInfo None.
费用信息
LogisticsTimes LogisticsTime None.
派送时效(小时)
[ { "ServiceCode": "sample string 1", "ServiceName": "sample string 2", "Success": true, "Message": "sample string 4", "ChargeInfo": { "Summary": [ { "Currency": "sample string 1", "Amount": 2 }, { "Currency": "sample string 1", "Amount": 2 } ], "Detail": [ { "Currency": "sample string 1", "Amount": 2, "ChargeName": "sample string 3", "Remark": "sample string 4" }, { "Currency": "sample string 1", "Amount": 2, "ChargeName": "sample string 3", "Remark": "sample string 4" } ] }, "LogisticsTimes": { "Min": 1, "Max": 2 } }, { "ServiceCode": "sample string 1", "ServiceName": "sample string 2", "Success": true, "Message": "sample string 4", "ChargeInfo": { "Summary": [ { "Currency": "sample string 1", "Amount": 2 }, { "Currency": "sample string 1", "Amount": 2 } ], "Detail": [ { "Currency": "sample string 1", "Amount": 2, "ChargeName": "sample string 3", "Remark": "sample string 4" }, { "Currency": "sample string 1", "Amount": 2, "ChargeName": "sample string 3", "Remark": "sample string 4" } ] }, "LogisticsTimes": { "Min": 1, "Max": 2 } } ]