A delivery-as-a-service API — create and track real deliveries on SwiftRide GO's courier network from your own checkout, without a customer-facing account of its own. This is the same real API every endpoint here calls; there's no separate sandbox.
Base URL: https://www.backend.swiftridego.com
Every /partner/* request needs your API key in a header — not the bearer token you use to sign in to the dashboard.
X-API-Key: ydg_ab12cd34ef56gH7kPq9rZmXn
Endpoints
/partner/ordersCreates a real, dispatch-ready delivery order with real distance-based pricing computed at creation time — the same zone pricing every order on the platform uses.
pickupobject, required
Coordinates {lat, lng} of the pickup point.
pickup_addressstring, required
The full street address for pickup (1–500 characters).
dropoffobject, required
Coordinates {lat, lng} of the dropoff point.
dropoff_addressstring, required
The full street address for dropoff (1–500 characters).
recipient_namestring, required
Full name of the person receiving the delivery — never your own account's name.
recipient_phonestring, required
A phone number for the recipient, e.g. "+2348011112222".
idUUID of the created order.
statusOne of "pending", "assigned", "picked_up", "in_transit", "delivered", "cancelled".
distance_kmReal haversine distance between pickup and dropoff.
delivery_feeReal zone-based price — the same pricing every order on the platform uses, computed at creation time.
currencyAlways "NGN" today.
created_at / assigned_at / picked_up_at / delivered_at / cancelled_atISO 8601 timestamps, null until that stage happens.
curl -X POST https://www.backend.swiftridego.com/partner/orders \
-H "X-API-Key: ydg_..." \
-H "Content-Type: application/json" \
-d '{
"pickup": { "lat": 6.5244, "lng": 3.3792 },
"pickup_address": "14 Adeola Odeku, Victoria Island",
"dropoff": { "lat": 6.5012, "lng": 3.3751 },
"dropoff_address": "Kofo Abayomi St, 14A, Lagos",
"recipient_name": "Jane Doe",
"recipient_phone": "+2348011112222"
}'Response example
{
"id": "8f2a1c3e-2b4d-4e1a-9c3f-1a2b3c4d5e6f",
"status": "pending",
"pickup_address": "14 Adeola Odeku, Victoria Island",
"dropoff_address": "Kofo Abayomi St, 14A, Lagos",
"recipient_name": "Jane Doe",
"recipient_phone": "+2348011112222",
"distance_km": "5.31",
"delivery_fee": "870.00",
"currency": "NGN",
"created_at": "2026-09-04T10:05:00Z",
"assigned_at": null,
"picked_up_at": null,
"delivered_at": null,
"cancelled_at": null
}Endpoints
/partner/ordersEvery order created by your key's merchant account, newest first. No pagination or filtering yet — if you have high order volume, don't rely on this alone for reconciliation.
curl https://www.backend.swiftridego.com/partner/orders \ -H "X-API-Key: ydg_..."
Response example
[
{
"id": "8f2a1c3e-2b4d-4e1a-9c3f-1a2b3c4d5e6f",
"status": "delivered",
"delivery_fee": "870.00",
"currency": "NGN",
"created_at": "2026-09-03T14:20:00Z",
"...": "same shape as Create an order's response"
}
]Endpoints
/partner/orders/{order_id}A single order, scoped to your account — 404s if it doesn't exist or belongs to a different partner.
curl https://www.backend.swiftridego.com/partner/orders/8f2a1c3e-2b4d-4e1a-9c3f-1a2b3c4d5e6f \ -H "X-API-Key: ydg_..."
Missing X-API-Key header
The request had no X-API-Key header at all.
Invalid or revoked API key
The key doesn't exist, or it's been revoked from your Settings page.
Partner account not approved
Your merchant account hasn't been hand-vetted and approved yet — API access is gated on that, same as every other trust-sensitive action on the platform.
Partner account banned or suspended
The platform account tied to this key has been banned or is currently suspended.
Order not found
The order doesn't exist, or belongs to a different partner account than the one authenticating.
Don't assume any of the following exist — building against them will break.
Billing / invoicing
delivery_fee is computed and attributed to your account on every order, but nothing charges you for it yet. No invoice, no payment collection, no balance endpoint.
Webhooks
There's no push notification for order status changes. Poll GET /partner/orders/{id} instead.
Order cancellation
Once created, only SwiftRide GO staff can cancel an order — there's no endpoint for you to do it yourself.
Rate limiting
None on these endpoints today. Don't build a client that polls aggressively — a future version may add limits without notice.
Sandbox / test mode
Every call to POST /partner/orders creates a real order in the real dispatch pipeline. There's no separate staging key type.
curl -X POST https://www.backend.swiftridego.com/partner/orders \
-H "X-API-Key: ydg_..." \
-H "Content-Type: application/json" \
-d '{
"pickup": { "lat": 6.5244, "lng": 3.3792 },
"pickup_address": "14 Adeola Odeku, Victoria Island",
"dropoff": { "lat": 6.5012, "lng": 3.3751 },
"dropoff_address": "Kofo Abayomi St, 14A, Lagos",
"recipient_name": "Jane Doe",
"recipient_phone": "+2348011112222"
}'Response example
{
"id": "8f2a1c3e-2b4d-4e1a-9c3f-1a2b3c4d5e6f",
"status": "pending",
"pickup_address": "14 Adeola Odeku, Victoria Island",
"dropoff_address": "Kofo Abayomi St, 14A, Lagos",
"recipient_name": "Jane Doe",
"recipient_phone": "+2348011112222",
"distance_km": "5.31",
"delivery_fee": "870.00",
"currency": "NGN",
"created_at": "2026-09-04T10:05:00Z",
"assigned_at": null,
"picked_up_at": null,
"delivered_at": null,
"cancelled_at": null
}