Door-Door
This API endpoint allows you to create a new FlexFlow (door-to-door) parcel request. The HTTP POST request should be sent to /parcel/logistics/door-door with the following payload in the raw request body:
{
"pickup_origin": {
"state_code": "LA",
"country_code": "NG",
"city": "Lagos",
"address": "Ikolaba Rd, Ibadan 200285, Oyo ...",
"region": {
"latitude": 6.4612672,
"longitude": 3.3961466
},
"contacts": {
"name": "Olakunle Olayemi",
"email": "abdul@gmail.com",
"phone_number": "09020500177",
"phone_number_2": ""
},
"pickup_note": "",
"pickup_date": "",
"pickup_time": "",
"vehicle": ""
},
"destinations": [
{
"state_code": "LA",
"country_code": "NG",
"city": "Lagos",
"address": "Ikolaba Rd, Ibadan 200285, Oyo ...",
"region": {
"latitude": 6.4612672,
"longitude": 3.3961466
},
"contacts": {
"name": "Olakunle Olayemi",
"email": "abdul@gmail.com",
"phone_number": "09020500177",
"phone_number_2": ""
},
"delivery_note": "",
"items": [
{
"name": "Book",
"width": "",
"length": "",
"height": ""
}
],
"item_weight": 1
}
]
}
The response to this request will include a JSON object with the following structure:
{
"status": true,
"message": "",
"data": {
"tracking_number": "",
"status": "",
"total_amount": 0,
"total_discount_amount": 0,
"total_amount_payable": 0,
"discount_type": "",
"discount_description": ""
}
}
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Example:
"no-cache"
Example:
"<calculated when request is sent>"
Example:
"<calculated when request is sent>"
Example:
"<calculated when request is sent>"
Example:
"PostmanRuntime/7.39.1"
Example:
"gzip, deflate, br"
Example:
"keep-alive"
Body
application/json
Response
200
application/json
success
The response is of type object
.