TrustColdDevelopers
Reference›Trip object

Trip object

Fields you read back on create, show, and list.

Run this from your browser — add your free test keys.

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.

FieldDescription
idNumeric id
codeTrip code, e.g. TRUST00001
statusTracking status: pending, en_route, completed, cancelled or deleted
status_labelHuman label for status in the request language
deleted / deleted_attrue and the time when the trip was deleted; otherwise false and null
from / toPickup and drop-off joined with / : governorate / area / address, for the parts you sent
from_lat / from_lng / to_lat / to_lngCoordinates when known, otherwise null
trip_dateDate
vehicle_typeRequested type code
vehicle_type_name / vehicle_type_name_ar / vehicle_type_name_enDisplay name in the request language, Arabic, English
notesNote, or null
revenuePrice calculated by TrustCold
deposit_statuspending, paid, or none
deposit_amountAmount, or null
payment_urlCheckout page while a deposit is pending; otherwise null
collectedWhether the load was collected
driver_nameAssigned later by TrustCold, or null
tracking_urlPublic tracking link
created_at / updated_atTimestamps

On this page