REST API Documentation
- Authorization
- Manage stores
- Delivery Requests
- Manage couriers
- Get Delivery Estimates
- Metas
Delivery Requests
Update delivery
This endpoint updates a pending delivery request.
Endpoint POST
Path Parameters
The uuid of the delivery
Sample Request
{
"sender_address": "10 John Street, Ipaja, Lagos",
"customer_name": "TundeNasri",
"customer_email": "sinoma@example.com",
"customer_state_id": 4,
"customer_house_number": 4,
"customer_phone_number": "0802839***8",
"phone_code": 234,
"customer_address": "12 Ahmadu Bello way, Central Business District, Abuja",
"delivery_total_order_value": 10000,
"delivery_number_of_parcels": 1,
"delivery_unit_weight": 10,
"items": {
[
"item_description": "Freshfish",
"item_quantity": 1,
"item_weight": 0.1,
"item_value": 10000
],
[
"item_uuid" : "48555811-5c4e-47xxxxx",
"item_description": "Mellon",
"item_quantity": 0.5,
"item_weight": 0,
"item_value": 10000
]
}
}
Request Body Parameters
The provider selected provider uuid that was selected after generating delivery estimate.
The pickup location of the sender or business
boolean 1 or 0
boolean 1 or 0
The name of your customer
(Optional) the email of your customer
The state id (can be gotten from the state metas) endpoint
The phone number of the customer
The country phone code of the customer phone number. Can be gotten from country metas) endpoint
The destination address of the customer
Cummulative value of the order
The number of parcel for the order
Average weight of each item in the parcel in (kg)
Average weight of each item in the parcel in (kg)