Shipment Rates

Learn to retrieve all rates and a specific rate of different carriers for a shipment.

Overview

The shipment rates are calculated for the given shipment depending on the provided addresses and parcel details.

Retrieve all rates

We use the following endpoint that uses the GET method to retrieve the shipments rate list:

https://api.goshippo.com/shipments/{SHIPMENT_OBJECT_ID}/rates/

Some important attributes of the rate object are provided in the table below:

Object

Type

Description

object_id

string

This is a unique object ID of the newly created shipment.

attributes

array of strings

This is the category of the shipment and possible values are FASTEST, BESTVALUE, or CHEAPEST.

amount_local

decimal

This is the price of the shipment according to the recipient's country.

currency_local

string

This is the currency code of the recipient's country in ISO 4217.

amount

decimal

This is the price of the shipment according to the sender's country.

currency

string

This is the currency code of the sender's country in ISO 4217.

provider

string

This is the name of the carrier company.

estimated_days

integer

This is the estimated delivery time of the shipment.

Let's see an example to ...