rates
Estimate rates
Changed onGet Rate Estimates
post/v2/rates/estimate
Request
- Base URLhttps://api.shipstation.com
- URLhttps://api.shipstation.com/v2/rates/estimate
- AuthAPI key in header api-key
Request body
Example request
{
"from_country_code": "CA",
"from_postal_code": "78756-3717",
"from_city_locality": "Austin",
"from_state_province": "Austin",
"to_country_code": "CA",
"to_postal_code": "78756-3717",
"to_city_locality": "Austin",
"to_state_province": "Houston",
"weight": {
"value": 3
},
"dimensions": {
"length": 2,
"width": 2,
"height": 1
},
"ship_date": "2018-09-23T15:00:00.000Z",
"carrier_ids": [
"se-28529731"
]
}Response
The request was a success.
Example response
[
{
"carrier_id": "se-28529731",
"shipping_amount": {
"amount": 12
},
"insurance_amount": {
"amount": 12
},
"confirmation_amount": {
"amount": 12
},
"other_amount": {
"amount": 12
},
"tax_amount": {
"amount": 12
},
"zone": 6,
"package_type": "package",
"delivery_days": 5,
"guaranteed_service": true,
"estimated_delivery_date": "2018-09-23T00:00:00Z",
"carrier_delivery_days": "22",
"delivery_prediction": {
"delivery_date": "2026-07-04",
"confidence_level": "high"
},
"ship_date": "2024-12-23T00:00:00.000Z",
"negotiated_rate": true,
"service_type": "next_day",
"service_code": "usps_priority_mail_express",
"trackable": true,
"carrier_code": "stamps_com",
"carrier_nickname": "free",
"carrier_friendly_name": "free",
"warning_messages": [
"warning"
],
"error_messages": [
"error"
]
}
]Changes
- warning
added the new
bring_your_own_label_not_supportedenum value to the//response property for the response status - warning
added the new
multiple_sales_ordersenum value to the//response property for the response status - warning
added the new
sales_order_link_requiredenum value to the//response property for the response status
- warning
- breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
added
subschema #2to the/response propertyoneOflist for the response status - info
removed from the
/response propertyallOflist for the response status
- breaking