Creates a new vehicle for the specified business. This endpoint is idempotent using the external_id field as the idempotency key.
Documentation Index
Fetch the complete documentation index at: https://docs.layerfi.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Content-Type must be set to application/json.
The UUID of the business.
The make and model of the vehicle (e.g., 'Toyota Camry').
The model year of the vehicle.
An optional external identifier for the vehicle. If provided and a vehicle with this external_id already exists, the existing vehicle will be updated instead of creating a new one.
The license plate number of the vehicle.
The Vehicle Identification Number (VIN).
An optional description or notes about the vehicle.
Whether this should be the primary vehicle. If true, any existing primary vehicle will be demoted.
Existing vehicle with matching external_id was updated.
The unique identifier of the vehicle.
The UUID of the business this vehicle belongs to.
The make and model of the vehicle (e.g., 'Toyota Camry').
The model year of the vehicle.
Whether this is the primary vehicle for the business. Only one vehicle can be primary at a time.
Whether the vehicle can be deleted. A vehicle cannot be deleted if it has trips or is archived.
Timestamp when the vehicle was created.
Timestamp when the vehicle was last updated.
An optional external identifier for the vehicle, used for idempotency.
The license plate number of the vehicle.
The Vehicle Identification Number (VIN).
An optional description or notes about the vehicle.
Timestamp when the vehicle was archived, or null if not archived.
Timestamp when the vehicle was deleted, or null if not deleted.