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" : {
"first_name" : "Will",
"last_name" : "Smith",
"street" : "10 Olasheun Crescent",
"street_line_2" : "HQ",
"state" : "Lagos",
"email" : null,
"city" : "Obanikoro",
"country" : "NG",
"post_code" : "102216",
"phone" : "+234 800 666 0419",
"lng" : 3.37,
"lat" : 6.56,
"name" : null
},
"destination": {
"first_name": "Joe",
"last_name": "Goldberg",
"post_code": "94612",
"phone": "+1 267 000 0",
"lng": -122.27,
"lat": 37.81,
"name": null,
"street": "31 Hall Crescent",
"street_line_2": "",
"state": "paris",
"email": "",
"city": "paris",
"country": "FR"
},
"weight" : 2,
"dimension" : {
"length" : 1,
"width" : 1,
"height" : 1
},
"incoming_option" : "pickup",
"region" : "NG",
"service_type" : "international",
"package_type" : "general",
"total_value" : 15000,
"currency" : "NGN",
"channel_code" : "api",
"pickup_date" : "2023-07-20",
"items" : [
{
"item_type" : "snail",
"hts_code": "9001.21",
"quantity" : 2,
"name" : "African Wax Fabrics - Orange Lace Fabric that is Not Woven",
"value" : 1500
}
],
"service_code": "standard",
"customs_option": "recipient"
}
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
object
senders details
destination
object
recipient details
currency
String
shop currency
weight
float
weight of package
dimension
object
dimension details
incoming_option
string
incoming option can be pick up or drop off
region
string
what region is the package is shipped from
service_type
string
set to either international or local
package_type
string
package type
total_value
float
value of shipment
channel_code
string
channel the request is being made from in this case set it to api
pickup_date
string
date package is picked up
items
array
An array of objects that contain:
- name [String]
- weight [Float]
- item_type_code [String optional]
- hts_code [String optional]
- description [String]
- quantity [Integer]
- value [Float]
service_code
string
can be set to international, local or nation-wide
customs_option
string
custom options
Last updated
Was this helpful?