-
开发者必读
计算多个SKU产品在指定仓库所有可用发货方式的运费
POST https://eu-openapi.chukou1.cn:84/v1/pricing/all/outbound/skus
½Ó¿Ú˵Ã÷: 计算多个SKU产品在指定仓库所有可用发货方式的运费ÊäÈë²ÎÊý
Body Parameters
Ãû³Æ ÀàÐÍ ¸ñʽҪÇó ÊÇ·ñ±ØÐë ÃèÊö ʾÀýÖµ Skus Collection of SkuInfo None.
±ØÐë
sku名称:数量
ServiceCode string ³¤¶È: 0 ~ 30
Âú×ãÕýÔò: ^[a-zA-Z0-9\-_]*$
发货服务代码
USRPP
WarehouseId string ³¤¶È: 0 ~ 10
Âú×ãÕýÔò: ^[a-zA-Z0-9\-_]{1,10}$
±ØÐë
仓库代号
US
Country string ³¤¶È: 0 ~ 100
±ØÐë
发往国家(支持标准二字简称)
United States
Postcode string ³¤¶È: 0 ~ 50
发往地区邮编(当地派送必须)
83301
Address string ³¤¶È: 0 ~ 200
收件人详细地址
172 Meadowview lane
City string ³¤¶È: 0 ~ 100
发往地区城市
Idaho
Province string ³¤¶È: 0 ~ 100
发往地区省/州
Twin Falls
IncludeUnsuccessful boolean None.
包含计费失败的结果默认不包含
true
{ "Skus": [ { "Sku": "sample string 1", "Quantity": 2 }, { "Sku": "sample string 1", "Quantity": 2 } ], "ServiceCode": "sample string 1", "WarehouseId": "sample string 2", "Country": "sample string 3", "Postcode": "sample string 4", "Address": "sample string 5", "City": "sample string 6", "Province": "sample string 7", "IncludeUnsuccessful": 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 } } ]