Estimate rates
documentedEstimate shipping rates for given data.
POST /v2/rates/estimateRatesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.shipstation.com/v2/rates/estimate" \
-X POST \
-H "API-Key: {{SHIPSTATION_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"carrier_ids": ["{{$carrier_id}}"],
"from_country_code": "{{$from_country_code}}",
"from_postal_code": "{{$from_postal_code}}",
"to_country_code": "{{$to_country_code}}",
"to_postal_code": "{{$to_postal_code}}",
"to_city_locality": "{{$to_city_locality}}",
"to_state_province": "{{$to_state_province}}",
"weight": {
"value": {{$weight_value}},
"unit": "{{$weight_unit}}"
},
"dimensions": {
"unit": "{{$dimension_unit}}",
"length": {{$length}},
"width": {{$width}},
"height": {{$height}}
},
"confirmation": "{{$confirmation}}",
"address_residential_indicator": "{{$address_residential_indicator}}" }'