Skip to content

Get RATES

ShipStation API

https://www.shipstation.com/docs/api/shipments/get-rates/

Description

Get Rates provides the ability to obtain the different rates for different couriers/services for the specified fields.

Update Mode

Only Insert

Obtaining Rates

To obtain rates you need to specify the following fields:

  • carrierCode
  • packageCode
  • serviceCode
  • fromPostalCode
  • toState
  • toCountry
  • toPostalCode
  • toCity
  • weight
  • weightUoM
  • dimensionLength
  • dimensionWidth
  • dimensionHeight
  • dimensionUoM

Then map empty fields to the various writeback fields. If you are only interested in the first reply/shipment cost then only map the first set of values.

Writeback Fields

The first five responses from the request will be returned as fields service_name_repl_x, service_code_reply_x, shipment_cost_reply_x and other_cost_reply_x where x is the 1st, 2nd, 3rd reply and so on.