Trial calculation
Request Service
Request Method:
Request Sample:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.example.org/">
<SOAP-ENV:Body>
<ns1:callService>
<paramsJson>
{
"warehouse_code":"WEST",
"sm_code":"US_FEDEX_GROUND",
"country_code":"US",
"post_code":"",
"zone":"4",
"is_residential":"0",
"product_list":
[
{
"product_sku":"trialsku001",
"length":"42.28",
"width":"23.64",
"height":"23.64",
"weight":"25.21"
}
]
}
</paramsJson>
<appToken>appToken</appToken>
<appKey>appKey</appKey>
<service>getShippingRate</service>
</ns1:callService>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Request Parameter:
Parameter |
Type |
Required |
Remark |
Length Limited |
warehouse_code |
String |
Y |
warehouse |
20 |
sm_code |
String |
N |
Logistics channel |
20 |
country_code |
String |
Y |
Country code |
20 |
post_code |
String |
N |
Post code(Postal code and Zone must be filled in one) |
20 |
zone |
String |
N |
zone |
20 |
is_residential |
int |
N |
is residential 1.Y 0.N(default) |
|
product_list |
Object |
Y |
SKU weight and size (up to 5) |
|
product_list:
Parameter |
Type |
Required |
Remark |
Length Limited |
product_sku |
String |
Y |
Trial calculation of SKU, for reference only, actual calculation will be based on filling in weight dimensions for trial calculation |
20 |
length |
String |
Y |
long(cm) |
20 |
width |
String |
Y |
wide(cm) |
20 |
height |
String |
Y |
high(cm) |
20 |
weight |
String |
Y |
weight(kg) |
20 |
Response Sample:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SOAP-ENV:Envelope xmlns:ns1="http://www.example.org/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<callServiceResponse>
<response>
{
"ask":"Success",
"data":[
{
"fee_detail_list": [
{
"additional_handling_fee": 10.0,
"basic_fee": 56.40,
"currency": "USD",
"delivery_area_surcharge_extended_fee": 0,
"delivery_area_surcharge_fee": 0,
"delivery_fee": 0,
"fuel_fee": 12.31,
"fuel_fee_rate": 0.1700000,
"over_maximum_limits_fee": 0,
"oversize_surcharge": 0,
"peak_surcharge_fee": 6.0,
"picking_charge": 2550.60,
"product_sku": "trialsku001",
"rent_charge": 708.84,
"residential_delivery_fee": 0,
"sm_code": "US_FEDEX_GROUND",
"total_fee": 3344.15,
"traffic_congestion_fee": 0,
"unloading_fee": 0.00,
"peak_surcharge_fee": 0.00,
"zone": 4
}
],
"product_fee_weight_lb": 56.00,
"product_girth_in": 57.00,
"product_height": 23.64,
"product_height_in": 9.31,
"product_length": 42.28,
"product_length_in": 16.65,
"product_sku": "trialsku001",
"product_volume_weight_lb": 6.80,
"product_weight": 25.21,
"product_weight_lb": 55.58,
"product_width": 23.64,
"product_width_in": 9.31
}
],
"nextPage":false
}
</response>
</callServiceResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Response Parameter:
Parameter |
Type |
Remark |
ask |
String |
Request Result: success or failure |
message |
String |
Response message |
nextPage |
boolean |
Identify if have next page or not |
product_sku |
String |
product sku |
product_length |
BigDecimal |
product length(cm) |
product_length_in |
BigDecimal |
product_length in (inch) |
product_width |
BigDecimal |
product width(cm) |
product_width_in |
BigDecimal |
product width in (inch) |
product_height |
BigDecimal |
product height(cm) |
product_height_in |
BigDecimal |
product height in(inch) |
product_weight |
BigDecimal |
product weight(kg) |
product_weight_lb |
BigDecimal |
product weight lb(lb) |
product_girth_in |
BigDecimal |
product girth in(inch) |
product_volume_weight_lb |
BigDecimal |
product volume weight lb |
product_fee_weight_lb |
BigDecimal |
product fee weight lb |
product_fee_weight |
BigDecimal |
product fee weight(kg) |
zone |
String |
zone |
fee_detail_list |
list |
fee detail list |
fee_detail_list:
Parameter |
Type |
Remark |
product_sku |
String |
product sku |
unloading_fee |
BigDecimal |
unloading fee |
rent_charge |
BigDecimal |
rent_charge-30 days |
picking_charge |
BigDecimal |
picking charge |
basic_fee |
BigDecimal |
Logistics fee - basic fee |
fuel_fee |
BigDecimal |
Logistics fee -fuel fee |
fuel_fee_rate |
BigDecimal |
Logistics fee –fuel fee rate |
residential_delivery_fee |
BigDecimal |
Logistics fee -residential delivery fee |
sm_code |
String |
sm code |
additional_handling_fee |
BigDecimal |
Logistics fee -additional handling fee |
oversize_surcharge |
BigDecimal |
oversize_surcharge |
over_maximum_limits_fee |
BigDecimal |
over maximum limits fee |
delivery_area_surcharge_fee |
BigDecimal |
delivery area surcharge fee |
delivery_area_surcharge_extended_fee |
BigDecimal |
Ultra remote address fees |
delivery_fee |
BigDecimal |
delivery fee |
traffic_congestion_fee |
BigDecimal |
DHL通 traffic congestion fee |
peak_surcharge_fee |
BigDecimal |
peak surcharge fee |
total_fee |
BigDecimal |
total fee |
currency |
String |
currency |
作者:莫剑伟 创建时间:2024-12-31 02:06
最后编辑:莫剑伟 更新时间:2024-12-31 02:56