Reference›Trip object
Trip object
Fields you read back on create, show, and list.
Key points
- status — pending, en_route, completed, cancelled, deleted. Show Cancelled / Deleted to the client.
- revenue — Price TrustCold calculated. Integer EGP. You never send this in.
- payment_url — Checkout while a deposit is pending; otherwise null.
Fields you read back. vehicle_type is the requested type, not an assigned truck. The trip object has no plate field; Tracking returns vehicle_plate once a vehicle is assigned. Text labels (status_label, vehicle_type_name) follow Accept-Language.
| Field | Description |
|---|---|
id | Numeric id |
code | Trip code, e.g. TRUST00001 |
status | Tracking status: pending, en_route, completed, cancelled or deleted |
status_label | Human label for status in the request language |
deleted / deleted_at | true and the time when the trip was deleted; otherwise false and null |
from / to | Pickup and drop-off joined with / : governorate / area / address, for the parts you sent |
from_lat / from_lng / to_lat / to_lng | Coordinates when known, otherwise null |
trip_date | Date |
vehicle_type | Requested type code |
vehicle_type_name / vehicle_type_name_ar / vehicle_type_name_en | Display name in the request language, Arabic, English |
notes | Note, or null |
revenue | Price calculated by TrustCold |
deposit_status | pending, paid, or none |
deposit_amount | Amount, or null |
payment_url | Checkout page while a deposit is pending; otherwise null |
collected | Whether the load was collected |
driver_name | Assigned later by TrustCold, or null |
tracking_url | Public tracking link |
created_at / updated_at | Timestamps |