Retrieve Shipment Rates
When you rate multiple shipments, ShipEngine returns a list of rates with information about each one, such as the costs and the estimated delivery date. Each of these rates is specific to the shipment information provided in the rate request.
ShipEngine stores this shipment information as a shipment
object and each rate is associated with a shipment_id
. You can then retrieve the rates later using this shipment_id
.
Example Request & Response
GET /v1/shipments/:shipment_id/rates
This example retrieves the rates for "shipment_id": se-2102034
(see line 3 of the example response).
Example Response
The response includes a list of rates for "shipment_id": se-2102034
. Each rate includes a rate_id
that you can use to create a label.
Due to the length of the response, we have truncated this example to only show a single rate.