vehicles_update
Update a vehicle's details in Storno (make, model, VIN, plate, fuel, ownership, driver, notes) or archive it via active=false. Null clears optional fields.
Instructions
Update a vehicle (any field of vehicles_create, plus active). Send null to clear an optional field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vin | No | ||
| fuel | No | ||
| make | No | ||
| uuid | Yes | Vehicle UUID | |
| year | No | ||
| model | No | ||
| notes | No | ||
| plate | No | ||
| active | No | false archives the vehicle (sold, returned); its expiries stop appearing in the lists filtered by active vehicles | |
| companyId | No | Company UUID (overrides STORNO_COMPANY_ID env var) | |
| ownership | No | ||
| driverName | No |