Update Vehicle status

Once you have created a Vehicle, before it will appear in any searches you must update its status which you can do using the following API:

PUT /api/beta/vehicles/{vehicle_id}/status
{
    "status": "available",
    "position": {
        "lat": 50.0,
        "lng": 0.1
    },
    "heading": 90.0
}
  • {vehicle_id} - (string) The Vehicle ID
  • status - (string) Vehicle status - see the complete list of Vehicle statuses
  • position - (geo object) The latest position of the Vehicle
  • heading - (optional number) Vehicle heading, if known (-1 indicates an unknown heading, or it may be omitted)

The request must contain at least a status or position, and can contain both at the same time.

See also