Create Quick Shipment
Create a quick shipment. Pass all required details, including address and parcel in a single API call.
/shipments/quick
POST
https://api.terminal.africa/v1/shipments/quick
This endpoint allows you to create a shipment.
Headers
Authorization*
string
Set value to Bearer SECRET_KEY
Content-Type*
string
Set value to application/json
Request Body
pickup_address**
object
Pickup address details for shipment. Refer to Address Object to see attributes required for pickup_address.
delivery_address*
object
Delivery address details for shipment. Refer to Address Object to see attributes required for delivery_address.
metadata
string
Provide additional context for a shipment.
shipment_purpose
string
Purpose of shipment. Options are commercial, personal, sample, return-after-repair, return-for-repair.
parcel
object
Parcel details for shipment. Refer to Parcel Object to see attributes required for delivery_address. Required if parcels is not included
shipment_type
string
Type of shipment to be created. Options are cash-on-delivery. Required if shipment is to be specified as cash-on-delivery
parcels
Array
Array of Parcel Object. Required if parcel is not included
Last updated