Trips›Retrieve a trip
Retrieve a trip
Full trip object by numeric id. Another client’s trip is 404.
curl https://trustcoldeg.com/api/v1/b2b/trips/10025 \
-H "Authorization: Bearer CLIENT_KEY" \
-H "Accept: application/json"{
"data": {
"id": 10025,
"code": "TRUST10025",
"status": "en_route",
"status_label": "En route",
"deleted": false,
"deleted_at": null,
"from": "القاهرة / مدينة نصر",
"to": "الإسكندرية / سموحة",
"from_lat": 30.0561,
"from_lng": 31.3301,
"to_lat": 31.2156,
"to_lng": 29.9553,
"trip_date": "2026-12-20",
"vehicle_type": "reefer_tank",
"vehicle_type_name": "Refrigerated tank truck",
"vehicle_type_name_ar": "سيارة دبابة مبردة",
"vehicle_type_name_en": "Refrigerated tank truck",
"notes": null,
"revenue": 4800.0,
"deposit_status": "paid",
"deposit_amount": 480.0,
"payment_url": null,
"collected": false,
"driver_name": "Mahmoud A.",
"tracking_url": "https://trustcoldeg.com/track/trip/TOKEN",
"created_at": "2026-12-18T09:12:44+02:00",
"updated_at": "2026-12-18T09:12:44+02:00"
}
}Trip belongs to another client
{
"message": "Not Found."
}Key points
- id — Numeric id from list or create, not the public code.
- status — Includes cancelled and deleted so the partner UI can show them as Cancelled / Deleted.
{id} is the numeric id from list or create. Another client’s trip returns 404.