Authorization: Bearer ********************
{
"address_from": {
"country_code": "MX",
"zip_code": "54040"
},
"address_to": {
"country_code": "MX",
"zip_code": "54040"
},
"parcel": {
"currency": "MXN",
"distance_unit": "CM",
"height": 10,
"length": 10,
"mass_unit": "KG",
"weight": 1,
"width": 10
}
}
curl --location --request POST 'http://ec2-54-188-18-143.us-west-2.compute.amazonaws.com:4000/api/rates' \
--header 'Content-Type: application/json' \
--data-raw '{
"address_from": {
"country_code": "MX",
"zip_code": "54040"
},
"address_to": {
"country_code": "MX",
"zip_code": "54040"
},
"parcel": {
"currency": "MXN",
"distance_unit": "CM",
"height": 10,
"length": 10,
"mass_unit": "KG",
"weight": 1,
"width": 10
}
}'
{
"data": [
{
"additional_fees": [],
"carrier": "FEDEX",
"currency": "MXN",
"service": "standard",
"shipping_type": "local",
"total_amount": "400.0",
"uuid": "9964cf5d-b248-4d26-bdd6-586c43ea8e01",
"zone": 2
},
{
"additional_fees": [],
"carrier": "FEDEX",
"currency": "MXN",
"service": "express",
"shipping_type": "local",
"total_amount": "400.0",
"uuid": "587ca7c9-e16a-4ddb-9e1b-0e01a86ee322",
"zone": 2
}
]
}