Shipments & Bookings
Book parcel deliveries, lock rates via rate_tokens, reserve escrow balances, and track delivery progress.
Create a new shipment booking. Automatically reserves the required fare in the merchant escrow ledger, locks pricing using the rate_token if provided, creates a tracking identifier, and broadcasts order dispatch to eligible carrier fleets or marketplace riders.
Request Body Fields
| Field | Type | Requirement | Description |
|---|---|---|---|
| customer_name | string | Required | Full legal name of parcel recipient. |
| customer_phone | string | Required | Recipient phone number (+234...). |
| pickup_address | string | Required | Full street address for parcel pickup. |
| pickup_latitude | decimal | Required | Geocoded pickup latitude. |
| pickup_longitude | decimal | Required | Geocoded pickup longitude. |
| dropoff_address | string | Required | Full street address for destination dropoff. |
| dropoff_latitude | decimal | Required | Geocoded dropoff latitude. |
| dropoff_longitude | decimal | Required | Geocoded dropoff longitude. |
| declared_value | decimal | Required | Package declared value in local currency. Mandatory for insurance and security deposit gating. |
| package_weight_kg | decimal | Optional | Actual parcel weight in kilograms. Default: 0.00 |
| rate_token | string | Optional | Cryptographic rate token obtained from POST /rates/. Locks in verified service level, mode, and fare. |
| fulfillment_mode | string | Optional | Delivery routing mode. Allowed: "marketplace""carrier"Default: marketplace |
| service_level | string | Optional | Delivery velocity service level. Allowed: "EXPRESS""STANDARD""SAME_DAY""SAVER"Default: STANDARD |
| merchant_reference | string | Optional | Merchant internal order or tracking reference string. |
| pickup_country | string | Optional | Two-letter ISO country code for pickup location. Default: NG |
| dropoff_country | string | Optional | Two-letter ISO country code for dropoff (must match pickup country). Default: NG |
| webhook_url | string | Optional | Optional per-shipment HTTPS webhook callback URL for state transitions. |
| package_description | string | Optional | Item description for driver and customs handling. |
Retrieve detailed state, escrow status, label URL, and ETA for a specific shipment UUID.