curl --request POST \
--url https://api.app.fleetit.com/v2/fleets/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Fleet XYZ",
"is_active": true,
"regions": [
1,
2
],
"customer_info": {
"ext_client_id": "123456",
"ext_billing_id": "654321",
"service_types": [
"Tolls",
"Violations"
],
"email": "[email protected]",
"notes": "Detailed notes here"
}
}
'