Skip to main content

Updating Vehicle Locations

Historical Vehicle locations are stored in Fleetio via Location Entries.

You can learn about how Location Entries are used in the Fleetio UI by referencing the Vehicle Location History Help Center Article.

If you're interested in creating Location Entries via the API, you can use the POST /api/v1/vehicles/:id/location_entries endpoint.

Here's a snippet showing how to create a Location Entry.

curl \
--include \
--request POST \
--header "Authorization: Token API_KEY" \
--header "Account-Token: ACCOUNT_TOKEN" \
--header "Content-Type: application/json" \
--data '{"date": "2023-06-06 12:00:00 -0600", "latitude": 33.477536, "longitude": -86.771141}' \