TrustColdDevelopers
Catalog›Vehicle types

Vehicle types

List refrigerated vehicle codes. Hide anything that is not available.

Run this from your browser — add your free test keys.
curl https://trustcoldeg.com/api/v1/b2b/vehicle-types \
  -H "Authorization: Bearer CLIENT_KEY" \
  -H "Accept: application/json" \
  -H "Accept-Language: en"

Key points

  • code — Send this value as vehicle_type on quote and create.
  • Labels — name follows Accept-Language. name_ar and name_en are always present.
  • Closed types — If available is false, disable the option and show warning. Do not book it.

Use name_en or name_ar for labels. If available is false, disable the option and show warning.

FieldDescription
codeSend this as vehicle_type
nameLabel for Accept-Language
name_ar / name_enFixed Arabic and English names
availabletrue when the type can be booked
disabledtrue when the type is closed
warning / warning_ar / warning_enMessage for a closed type (current language, Arabic, English); otherwise null
{
  "data": [
    {
      "code": "reefer_tank",
      "name": "Refrigerated tank truck",
      "name_ar": "سيارة دبابة مبردة",
      "name_en": "Refrigerated tank truck",
      "available": true,
      "disabled": false,
      "warning": null,
      "warning_ar": null,
      "warning_en": null
    },
    {
      "code": "freezer_jumbo_18",
      "name": "Freezer jumbo truck",
      "name_ar": "سيارة جامبو تجميد",
      "name_en": "Freezer jumbo truck",
      "available": false,
      "disabled": true,
      "warning": "This vehicle type is not available yet and will be available soon.",
      "warning_ar": "…",
      "warning_en": "This vehicle type is not available yet and will be available soon."
    }
  ]
}