shipments
Get shipping rates
Retrieves shipping rates for the specified shipping details. Use this endpoint to compare rates across different carriers and services before creating a label.
post/shipments/getrates
Request body
Example request
{
"carrierCode": "fedex",
"fromPostalCode": "78703",
"toCountry": "US",
"toPostalCode": "20500",
"toState": "DC",
"toCity": "Washington",
"weight": {
"value": 24,
"units": "ounces"
},
"dimensions": {
"length": 7,
"width": 5,
"height": 6,
"units": "inches"
},
"confirmation": "delivery"
}Response
List of available shipping rates
Example response
[
{
"serviceName": "FedEx Ground®",
"serviceCode": "fedex_ground",
"shipmentCost": 8.25,
"otherCost": 0.33
}
]