Sign in

Create rate

documented

Create a rate estimate or request.

POST /v2/ratesRatesno implementation yet0 runs
No 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" \
  -X POST \
  -H "API-Key: {{SHIPSTATION_API_KEY}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"shipment": {"ship_to": {"name": "{{$ship_to_name}}","address_line1": "{{$ship_to_address_line1}}","city_locality": "{{$ship_to_city}}","state_province": "{{$ship_to_state}}","postal_code": "{{$ship_to_postal}}","country_code": "{{$ship_to_country}}","address_residential_indicator": "no"},"ship_from": {"name": "{{$ship_from_name}}","address_line1": "{{$ship_from_address_line1}}","city_locality": "{{$ship_from_city}}","state_province": "{{$ship_from_state}}","postal_code": "{{$ship_from_postal}}","country_code": "{{$ship_from_country}}","address_residential_indicator": "no"},"packages": [{"package_code": "package","weight": {"value": {{$weight_value}},"unit": "{{$weight_unit}}"}]}}, "rate_options": {"carrier_ids": ["{{$carrier_id}}"]}, "validate_address": "{{$validate_address}}"}'
Create rate · ShipStation · OpenIntegrations