Request Shipping Quotes

Getting shipment quotes requires you making a post request to the shipment delivery quote endpoint ensure to pass the required header parameters and body parameters to get the appropriate response.

A sample payload to request shipment quotes

{
    "origin_name": "Mrs. Hippo",
    "origin_phone": "+2348170441446",
    "origin_street": "Clayton St.",
    "origin_city": "Ikorodu",
    "origin_country": "NIGERIA",
    "origin_country_code": "NG", -------->(Optional)
    "origin_state": "Lagos",
    "origin_state_code": "LOS",  -------->(Optional)
    "destination_name": "Brian",
    "destination_phone": "+2348170441446",
    "destination_street": "Drydock Ave Suite 610",
    "destination_city": "Ikeja",
    "destination_country": "NIGERIA",
    "destination_country_code": "NG", -------->(Optional)
    "destination_state": "Lagos",
    "destination_state_code": "LOS",  -------->(Optional)
    "weight": "0.5",
    "currency":"NGN",
    "service_code":"standard"
    "items": [
        {
            "name": "Test Brian Iyoha",
            "quantity": "1",
            "weight": "1",
            "amount": "100",
            "value": "120000"
    
    }
    ]
}

Adding currency to the shipping quotes payload will return quotes in whatever currency that was passed.

Service code value can be either one of the following: standard, premium or expedient. You can default it in your request.

Staging URL: Staging URL: https://sandbox.staging.sendbox.co/shipping/shipment_delivery_quote

Get Shipping Quotes

https://live.sendbox.co/shipping/shipment_delivery_quote

This gets shipping quotes

Headers

Name

Type

Description

Authorization

String

Authorization-key

Content-type

String

application/json

Body Parameters

Name

Type

Description

origin_country

String

senders country

origin_state

String

senders state

origin_city

String

senders city

destination_country

String

recipient country

destination_state

String

recipient state

destination_city

String

recipient city

currency

String

shop currency

weight

float

weight of package

Rates in response is an array of available shipping services could be economy or standard.

Last updated