{
"sm_code": "UPSGROUNDJD1",
"parcel_quantity": 1,
"parcel_declared_value": 12,
"oa_firstname": "ONT2",
"oa_company": "AMAZON",
"oa_street_address1": "1910 E central Ave",
"oa_street_address2": "",
"oa_postcode": "92408",
"oa_state": "CA",
"oa_city": "San Bernardino",
"oa_country": "US",
"oa_doorplate": "",
"oa_telphone": "8882804331",
"signature_service": "SSF",
"box_list": [
{
"box_length": 11,
"box_width": 11,
"box_height": 11,
"box_actual_weight": 10.000
},
{
"box_length": 10,
"box_width": 10,
"box_height": 10,
"box_actual_weight": 8.000
}
],
"shipper_address": {
"shipper_name": "Sender Name",
"shipper_company": "Company Name",
"shipper_telphone": "88383748",
"shipper_country": "US",
"shipper_state_province": "CA",
"shipper_city": "LA",
"shipper_address1": "1910 E central Ave",
"shipper_address2": "",
"shipper_postal_code": "90001",
"shipper_doorplate": "",
}
}curl --location --request POST '/api/svc/rates' \
--header 'Content-Type: application/json' \
--data-raw '{
"sm_code": "UPSGROUNDJD1",
"parcel_quantity": 1,
"parcel_declared_value": 12,
"oa_firstname": "ONT2",
"oa_company": "AMAZON",
"oa_street_address1": "1910 E central Ave",
"oa_street_address2": "",
"oa_postcode": "92408",
"oa_state": "CA",
"oa_city": "San Bernardino",
"oa_country": "US",
"oa_doorplate": "",
"oa_telphone": "8882804331",
"signature_service": "SSF",
"box_list": [
{
"box_length": 11,
"box_width": 11,
"box_height": 11,
"box_actual_weight": 10.000
},
{
"box_length": 10,
"box_width": 10,
"box_height": 10,
"box_actual_weight": 8.000
}
],
"shipper_address": {
"shipper_name": "Sender Name",
"shipper_company": "Company Name",
"shipper_telphone": "88383748",
"shipper_country": "US",
"shipper_state_province": "CA",
"shipper_city": "LA",
"shipper_address1": "1910 E central Ave",
"shipper_address2": "",
"shipper_postal_code": "90001",
"shipper_doorplate": "",
}
}'{
"code": 200,
"result": {
"sm_code": "FEDEX-OVERSIZE",
"address_type_text": "Commercial",
"address_type": 0,
"currency_code": "USD",
"charge_weight": 35.2739619,
"total_charge": "9.29",
"shipping_charge": "8.03",
"charge_detail": [
{
"charge_desc": "运输费",
"amount": "8.03"
},
{
"charge_desc": "燃油附加费",
"amount": "1.26"
}
]
},
"msg": "Success"
}