Get Quotes for Shipment
Fetch available shipping quotes for a shipment
post
https://api.terminal.africa
/v1/rates/shipment/quotes
/rates/shipment/quotes
This endpoint allows you to retrieve rates for a shipment. To return cash on delivery rates for carriers who supports cash-on-delivery, set cash_on_delivery to true
Parameters
Header
Authorization*
string
Set value to
Bearer SECRET_KEY
Content-Type*
string
Set value to
application/json
Body
pickup_address*
object
Pickup Address Object. Refer to Create Address under Addresses to see attributes required to create a pickup address
delivery_address*
object
Delivery Address Object. Refer to Create Address under Addresses to see attributes required to create a delivery address
parcel*
object
Parcel Object. Refer to Create Parcel under Parcels API Endpoints to see attributes required.
packaging_id not necessary in parcel object
carrier_id
string
Unique id for carrier. Include carrier_id to return rates for specific carrier
currency
string
Currency for rates. Defaults to NGN. Available options are AED, AUD, CAD, CNY, EUR, GBP, GHS, HKD, KES, NGN, TZS, UGX, USD, ZAR.
cash_on_delivery
Boolean
Set to true to return cash on rates that supports cash on delivery.
Responses
200
Rates retrieved successfully.
Last modified 3mo ago