Create New Shipment
Creating a new shipment requires you making a post request to the shipment endpoint ensure to pass the required header parameters and body parameters to get the appropriate response
Sample Payload to request shipment
{
"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":"9000.10",
"quantity" : 2,
"name" : "African Wax Fabrics - Orange Lace Fabric that is Not Woven",
"value" : 1500
}
],
"service_code": "standard",
"customs_option": "recipient",
"callback_url":"https://your_callback_url/"
}Create New Shipment
Payload Explained
channel_code
Items
Callback_url
Fund your staging account
Check your staging account balance
Stimulate webhooks events
Last updated
Was this helpful?