API

Book deliveries from your store.

Your logistics company gives you an API key in the merchant portal. Send orders as JSON; get back a tracking code and link to share with your customer.

Authentication

Send your key in the Authorization header: Bearer ldms_…. Keys belong to one merchant and one logistics company.

Create a shipment

curl -X POST https://logisticsdms.com/api/v1/shipments \
  -H "Authorization: Bearer ldms_YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"recipient_name":"Adaeze Okafor","phone":"08031234567","address":"14 Allen Avenue, Ikeja","state":"LA","cod_amount":45000,"service":"express","reference":"ORDER-1042"}'

Fields: recipient_name and address are required. Optional: phone, email, city, state (2-letter code, e.g. LA, FC, RI), service (standard, express, same_day, bulk), cod_amount, declared_value, weight_kg, pieces, description, reference.

Get a shipment

GET /api/v1/shipments/LA-IKJ-208-EXPRESS
GET /api/v1/shipments?status=delivered&since=2026-11-01

Responses include status, status_label, tracking_url, delivered_at, received_by, cod_collected and the event history. The Delivery PIN is never returned.

Errors

401 bad key · 422 missing fields (with a list) · 404 not found · 429 more than 120 requests a minute.