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
This example retrieves the rates for "shipment_id": se-2102034
(see line 3 of the Example Response).
GET /v1/shipments/:shipment_id/rates
Example Request
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.
Similar to before, we're only displaying a single rate here, even though many more were returned.