Integrations
Auth
Fleet
- Settings
- ServiceTypes
- Regions
- GETList
- GETGet
- POSTCreate
- PUTUpdate
Tolls
Integrations
- Fleet Active Integrations
- Logs
- GETList
Drivers
- Driver-agreements
- POSTAdd
- GETList
- POSTBulk Create
Fleet
Update
Update a fleet by ID.
PUT
/
v2
/
fleets
/
{ID}
curl --request PUT \
--url https://api.app.fleetit.com/v2/fleets/{ID}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 84,
"title": "New Fleet Test V3",
"is_active": true,
"regions": [
1
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
1
],
"email": "contactnewv2@newfleet.com",
"notes": "Initial setup for new fleet."
}
}'
{
"id": 84,
"title": "New Fleet Test V3",
"is_active": true,
"regions": [
"Washington"
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls"
],
"email": "contactnewv2@newfleet.com",
"notes": "Initial setup for new fleet."
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The unique identifier for the fleet.
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.app.fleetit.com/v2/fleets/{ID}/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": 84,
"title": "New Fleet Test V3",
"is_active": true,
"regions": [
1
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
1
],
"email": "contactnewv2@newfleet.com",
"notes": "Initial setup for new fleet."
}
}'
{
"id": 84,
"title": "New Fleet Test V3",
"is_active": true,
"regions": [
"Washington"
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls"
],
"email": "contactnewv2@newfleet.com",
"notes": "Initial setup for new fleet."
}
}
Assistant
Responses are generated using AI and may contain mistakes.