Before usage, sign up today to get an API Key (Private Key) which will be used for Authorization.
Usage
The following examples show how to consume different api actions
Delivery Request
Parameters
Parameter
Type
Status
Description
action
string
REQUIRED
directRequestDelivery
privateKey
string
REQUIRED
Basic authentication Key obtained from the dashboard credentials inserted in the Header i.e. Authorization: 'Bearer ' + privateKey
countryCode
string
REQUIRED
Country code Name i.e UG, KE, TZ etc
vehicleType
string
REQUIRED
The type of carrier to take the package i.e. DELIVERY_BIKE, DELIVERY_10_20_TON_TRUCK, DELIVERY_3_TON_TRUCK, DELIVERY_5_10_TON_TRUCK, DELIVERY_BIKE_BOX, DELIVERY_CAB, DELIVERY_PICKUP_TRUCK, DELIVERY_PICKUP_TRUCK_OPENED, DELIVERY_TRUCK
deliveryInstructions
string
OPTIONAL
Instructions of the delivery request, i.e Clear description of the intended delivery destination
packageWeight
double
OPTIONAL
Weight of the Package in Kilograms(kg)
packageDescription
string
OPTIONAL
Description of the package
pickupContactInfo
object
REQUIRED
Details of the sender i.e. {fullName: String (REQUIRED), phoneNumber: String (REQUIRED), email: String (OPTIONAL), gender: String (OPTIONAL), description: String (OPTIONAL), addressLatLng: Array (REQUIRED) i.e. [lat, long], addressLabel: String (REQUIRED), city: String (OPTIONAL), building: String (OPTIONAL), plotNumber: String (OPTIONAL)}
dropOffContactInfo
object
REQUIRED
Details of the receiver i.e. {fullName: String (REQUIRED), phoneNumber: String (REQUIRED), email: String (OPTIONAL), gender: String (OPTIONAL), description: String (OPTIONAL), addressLatLng: Array (REQUIRED) i.e. [lat, long], addressLabel: String (REQUIRED), city: String (OPTIONAL), building: String (OPTIONAL), plotNumber: String (OPTIONAL)}
Basic authentication Key obtained from the dashboard credentials inserted in the Header i.e. Authorization: 'Bearer ' + privateKey
countryCode
string
REQUIRED
Country code Name i.e UG, KE, TZ etc
vehicleType
string
REQUIRED
The type of carrier to take the package i.e. DELIVERY_BIKE, DELIVERY_10_20_TON_TRUCK, DELIVERY_3_TON_TRUCK, DELIVERY_5_10_TON_TRUCK, DELIVERY_BIKE_BOX, DELIVERY_CAB, DELIVERY_PICKUP_TRUCK, DELIVERY_PICKUP_TRUCK_OPENED, DELIVERY_TRUCK
Basic authentication Key obtained from the dashboard credentials inserted in the Header i.e. Authorization: 'Bearer ' + privateKey
countryCode
string
REQUIRED
Country code Name i.e UG, KE, TZ etc
vehicleType
string
REQUIRED
The type of carrier to take the package i.e. DELIVERY_BIKE, DELIVERY_10_20_TON_TRUCK, DELIVERY_3_TON_TRUCK, DELIVERY_5_10_TON_TRUCK, DELIVERY_BIKE_BOX, DELIVERY_CAB, DELIVERY_PICKUP_TRUCK, DELIVERY_PICKUP_TRUCK_OPENED, DELIVERY_TRUCK