Create a new vehicle
createVehicleAdd a vehicle to your business fleet with just a name; optionally include year, brand, model, plate, type, mileage, and owner.
Instructions
Create a new vehicle
Creates a vehicle for the business fleet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Vehicle display name (required). The only mandatory field — a fleet import needs nothing but names to get vehicles into the system. | |
| year | No | Model year. Optional. | |
| brand | No | Manufacturer / make. Optional. | |
| model | No | Model name. Optional. | |
| owner_id | No | UUID of the technician who owns (has claimed) this vehicle. Optional. The owner must be a lead technician or a management role — a buddy- or float-tier profile is refused with VEHICLE_OWNER_TIER_NOT_ALLOWED. Assigning which vehicles a technician USES is a different relation: PUT /technicians/{id}/vehicles. | |
| plate_number | No | License plate. Optional. | |
| vehicle_type | No | ||
| current_mileage | No | Odometer reading. Optional; must be >= 0 when sent. | |
| idempotency_key | No | Unique key making retries safe: a repeat send with the same key replays the original response (header Idempotent-Replayed: true) instead of re-running the operation. Reusing a key with a different body returns 422 IDEMPOTENCY_KEY_REUSE. (sent as the Idempotency-Key header) |