Zugang
- Einen Schlüssel legt der Inhaber der Vermietung unter Einstellungen → API-Zugang an.
- Senden Sie ihn bei jeder Anfrage im Kopf Authorization: Bearer mf_live_…
- Alle Adressen beginnen mit:
https://app.mietflott.de/api/public/v1
curl https://app.mietflott.de/api/public/v1/vehicles?limit=10 \
-H "Authorization: Bearer mf_live_…"
Die vollständige Beschreibung im Format OpenAPI 3.1 steht ohne Schlüssel bereit: Beschreibung als OpenAPI 3.1 (JSON)
Regeln
- JSON in UTF-8. Zeitpunkte in UTC nach ISO 8601, Tage als JJJJ-MM-TT. Geldbeträge als Objekt mit amountCents (Cent oder Rappen, mit Umsatzsteuer) und currency.
- Listen kommen seitenweise mit data und nextCursor. Für die nächste Seite nextCursor als cursor mitgeben. limit von 1 bis 100, ohne Angabe 50.
- Je Schlüssel 120 Anfragen je Minute und 30 je 10 Sekunden. Darüber kommt 429 mit Retry-After in Sekunden.
- Anfragen mit Inhalt sind höchstens 64 KB groß.
- POST nimmt den Kopf Idempotency-Key. Kommt dieselbe Anfrage mit demselben Wert innerhalb von 24 Stunden noch einmal, gibt es die erste Antwort zurück und nichts wird doppelt angelegt.
- Antworten auf GET tragen ein ETag. Mit If-None-Match und diesem Wert kommt 304, solange sich nichts geändert hat.
- Buchungen über die API prüfen Verfügbarkeit, Buchungszeiten, Sperren von Mietern, eigene Fahrzeugpreise und Mietbedingungen wie in Mietflott. Änderungen stehen im Protokoll der Vermietung mit dem Schlüssel.
- Ist die Vermietung nur lesbar, nimmt die API nur GET an. Ein widerrufener oder abgelaufener Schlüssel erhält 401.
Beispiele
Buchung anlegen
curl -X POST https://app.mietflott.de/api/public/v1/bookings \
-H "Authorization: Bearer mf_live_…" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: website-order-4711" \
-d '{
"renter": { "name": "Jonas Becker", "phone": "+49 170 5551234" },
"addRenterToRecords": true,
"vehicles": [{ "vehicleId": "0195a6b2-…", "startsAt": "2026-12-03T08:00:00Z", "endsAt": "2026-12-05T08:00:00Z" }]
}'
Antwort bei einem Fehler
{
"code": "booking.vehicle_unavailable",
"conflict": {
"vehicleId": "0195a6b2-…"
},
"requestId": "3f2c9a…"
}
Jeder Fehler hat einen festen code und die requestId. Bei validation.failed nennt fields Feld und Regel. Nennen Sie die requestId, wenn Sie den Support fragen.
Webhooks
Mietflott ruft eine Adresse Ihres Programms mit POST auf, sobald sich etwas ändert. Adressen und Ereignisse legt der Inhaber unter Einstellungen → API-Zugang → Webhooks fest. Dort steht auch das Geheimnis für die Signatur.
Ereignisse
booking.created Buchung oder Anfrage angelegtbooking.updated Buchung geändertbooking.cancelled Buchung storniert oder Anfrage beendethandover.sealed Ausgabe oder Rückgabe abgeschlosseninvoice.issued Rechnung gestelltinvoice.cancelled Rechnung storniert
Inhalt
{
"id": "0195a6c1-7d2e-7b4a-9c3f-2f1e8d6a4b10",
"type": "booking.created",
"occurredAt": "2026-12-03T07:41:12.000Z",
"data": {
"bookingId": "0195a6b2-4c11-7e09-8a51-6d0f3b2e9c77"
}
}
Der Aufruf enthält Ereignis, Zeit und Kennungen, keine Namen und keine Kontaktdaten. Was Ihr Programm braucht, liest es mit einem Schlüssel nach, etwa die Buchung mit GET /bookings und ihrer Kennung.
Kopfzeilen
Mietflott-Signature Zeit in Unix-Sekunden als t und Signatur als v1 (HMAC-SHA256 in hex), etwa t=1796284872,v1=5f3c…Mietflott-Event Das Ereignis, etwa booking.createdMietflott-Delivery Kennung dieses Aufrufs, bei jedem Versuch gleich
Signatur prüfen
Rechnen Sie HMAC-SHA256 über t, einen Punkt und den Inhalt, mit dem ganzen Geheimnis der Adresse (whsec_…) als Schlüssel, und vergleichen Sie in konstanter Zeit mit v1. Nehmen Sie den Inhalt, wie er ankam, vor dem Lesen als JSON. Weisen Sie Aufrufe ab, deren t mehr als 5 Minuten von Ihrer Uhr abweicht.
Node.js
import { createHmac, timingSafeEqual } from 'node:crypto';
// rawBody: the body exactly as it arrived (Buffer), before JSON.parse.
// header: request.headers['mietflott-signature']
export function verifyMietflott(rawBody, header, secret) {
const parts = Object.fromEntries(header.split(',').map((part) => part.split('=')));
const t = Number(parts.t);
if (!Number.isInteger(t) || Math.abs(Date.now() / 1000 - t) > 300) return false;
const expected = createHmac('sha256', secret).update(`${t}.`).update(rawBody).digest();
const given = Buffer.from(parts.v1 ?? '', 'hex');
return given.length === expected.length && timingSafeEqual(given, expected);
}
PHP
<?php
function verify_mietflott(string $rawBody, string $header, string $secret): bool
{
$parts = [];
foreach (explode(',', $header) as $part) {
[$name, $value] = array_pad(explode('=', $part, 2), 2, '');
$parts[$name] = $value;
}
$t = (int) ($parts['t'] ?? 0);
if (abs(time() - $t) > 300) {
return false;
}
$expected = hash_hmac('sha256', $t . '.' . $rawBody, $secret);
return hash_equals($expected, $parts['v1'] ?? '');
}
$ok = verify_mietflott(file_get_contents('php://input'), $_SERVER['HTTP_MIETFLOTT_SIGNATURE'] ?? '', $secret);
Python
import hashlib
import hmac
import time
def verify_mietflott(raw_body: bytes, header: str, secret: str) -> bool:
parts = dict(part.split("=", 1) for part in header.split(",") if "=" in part)
try:
t = int(parts.get("t", ""))
except ValueError:
return False
if abs(time.time() - t) > 300:
return False
expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, parts.get("v1", ""))
Zustellung
- Antworten Sie innerhalb von 10 Sekunden mit einem Status 2xx und arbeiten Sie danach weiter.
- Ohne 2xx versucht Mietflott es noch 6-mal mit wachsendem Abstand, der letzte Versuch etwa 24 Stunden nach dem ersten. Weiterleitungen werden nicht verfolgt.
- Ein Ereignis kann doppelt oder in anderer Reihenfolge ankommen. Erkennen Sie doppelte an der id im Inhalt und lesen Sie den aktuellen Stand über die API.
- Nimmt eine Adresse 50 Aufrufe in Folge und mehr als einen Tag lang nichts an, schaltet Mietflott sie aus und schreibt dem Inhaber.
- Nur https auf Port 443 an einen öffentlichen Namen. Zeigt der Name in ein internes Netz, ruft Mietflott ihn nicht auf.
Schlüssel
GET /key
Der Schlüssel der Anfrage mit seinen Bereichen und der Vermietung. Gut zum Prüfen der Verbindung.
- Bereich
- jeder gültige Schlüssel
Fehlercodes
api.key_invalid demo.not_available plan.limit_customer_api plan.no_access request.too_many
Fahrzeuge, Klassen und Preise
GET /vehicles
Fahrzeuge in der Reihenfolge, in der sie angelegt wurden, mit dem Tagespreis, zu dem sie vermietet werden.
- Bereich
vehicles:read
Parameter
| Feld | Typ | Pflicht |
|---|
cursor | string | |
limit | integer | |
status | "active" | "retired" | |
classId | uuid | |
locationId | uuid | |
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.too_many validation.failed
GET /vehicles/availability
Fahrzeuge, die im Zeitraum frei sind, mit dem Preis, zu dem sie heute gebucht würden.
- Bereich
vehicles:read
Parameter
| Feld | Typ | Pflicht |
|---|
from | date-time | ja |
to | date-time | ja |
classId | uuid | |
locationId | uuid | |
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.too_many validation.failed
GET /vehicles/{id}
Ein Fahrzeug.
- Bereich
vehicles:read
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
GET /vehicle-classes
Fahrzeugklassen mit Preisen, Mindestalter und Führerscheinklasse.
- Bereich
vehicles:read
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.too_many
GET /locations
Standorte mit Anschrift und Zeitzone.
- Bereich
vehicles:read
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.too_many
Buchungen und Anfragen
GET /bookings
Buchungen, mit stage auch Anfragen oder Angebote. Kommende und laufende zuerst, die frühesten vorn.
- Bereich
bookings:read
Parameter
| Feld | Typ | Pflicht |
|---|
cursor | string | |
limit | integer | |
stage | "booking" | "request" | "offer" | |
from | date | |
to | date | |
locationId | uuid | |
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.too_many validation.failed
POST /bookings
Bucht Fahrzeuge für einen Mieter, mit denselben Prüfungen wie in Mietflott: Verfügbarkeit, Buchungszeiten, Sperren, Preise.
- Bereich
bookings:write
Fehlercodes
api.idempotency_in_progress api.idempotency_key_reused api.key_invalid api.scope_missing booking.shorter_than_minimum booking.time_rules booking.vehicle_retired booking.vehicle_unavailable demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access plan.read_only promotion.code_not_valid renter.blocked request.too_large request.too_many validation.failed
GET /bookings/{id}
Eine Buchung, Anfrage oder ein Angebot mit Fahrzeugen, Preisen und Mieter.
- Bereich
bookings:read
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
GET /bookings/{id}/cancellation-proposal
Die Gebühr, die Ihre Stornobedingungen für eine Stornierung heute vorschlagen.
- Bereich
bookings:write
Fehlercodes
api.key_invalid api.scope_missing booking.not_booked demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
POST /bookings/{id}/cancel
Storniert eine bestätigte Buchung vor der Ausgabe. Eine Gebühr wird die einzige Position der Rechnung.
- Bereich
bookings:write
Fehlercodes
api.idempotency_in_progress api.idempotency_key_reused api.key_invalid api.scope_missing booking.invoiced booking.not_changeable demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access plan.read_only request.not_found request.too_large request.too_many validation.failed
POST /booking-requests
Legt eine Anfrage an, die Ihr Büro mit einem Angebot oder einer Buchung beantwortet.
- Bereich
bookings:write
Fehlercodes
api.idempotency_in_progress api.idempotency_key_reused api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access plan.read_only request.too_large request.too_many validation.failed
Mieter
GET /renters
Mieter aus der Kartei, älteste Einträge zuerst.
- Bereich
renters:read
Parameter
| Feld | Typ | Pflicht |
|---|
cursor | string | |
limit | integer | |
q | string | |
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.too_many validation.failed
POST /renters
Nimmt einen Mieter in die Kartei auf.
- Bereich
renters:write
Fehlercodes
api.idempotency_in_progress api.idempotency_key_reused api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access plan.read_only request.too_large request.too_many validation.failed
GET /renters/{id}
Ein Mieter aus der Kartei.
- Bereich
renters:read
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
PATCH /renters/{id}
Ändert Name, Anschrift, Kontakt, Geburtsdatum oder Notiz.
- Bereich
renters:write
Fehlercodes
api.idempotency_in_progress api.idempotency_key_reused api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access plan.read_only request.not_found request.too_large request.too_many validation.failed
Rechnungen
GET /invoices
Rechnungen und Stornorechnungen, neueste zuerst.
- Bereich
invoices:read
Parameter
| Feld | Typ | Pflicht |
|---|
cursor | string | |
limit | integer | |
month | string | |
status | "open" | "overdue" | |
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.too_many validation.failed
GET /invoices/{id}
Eine Rechnung mit bezahltem und offenem Betrag.
- Bereich
invoices:read
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
GET /invoices/{id}/pdf
Die Rechnung als PDF, so wie sie ausgestellt wurde.
- Bereich
invoices:read
- Antwort
- PDF-Datei
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
Übergaben
GET /bookings/{id}/handovers
Ausgaben und Rückgaben einer Buchung.
- Bereich
handovers:read
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
GET /handovers/{id}
Eine Übergabe mit Kilometerstand, Tank und Zahl der Schäden.
- Bereich
handovers:read
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
GET /handovers/{id}/protocol
Das Übergabeprotokoll einer versiegelten Übergabe als PDF, mit den Fotos der Übergabe und der Unterschrift des Mieters als Bild.
- Bereich
handovers:read
- Antwort
- PDF-Datei
Fehlercodes
api.key_invalid api.scope_missing demo.not_available feature.not_enabled plan.limit_customer_api plan.no_access request.not_found request.too_many
Datenformen
Felder mit Punkt gehören zu einem Objekt, [] zu den Einträgen einer Liste.
Availability
| Feld | Typ | Pflicht |
|---|
from | date-time | ja |
to | date-time | ja |
rentalDays | integer | ja |
free | object[] | ja |
free[].vehicleId | uuid | ja |
free[].plate | string | ja |
free[].make | string | ja |
free[].model | string | ja |
free[].classId | uuid | ja |
free[].className | string | ja |
free[].locationId | uuid | ja |
free[].locationName | string | ja |
free[].dailyPrice | Money | null | ja |
free[].hourlyPrice | Money | null | ja |
Booking
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
number | integer | ja |
status | "confirmed" | "active" | "returned" | "cancelled" | "request" | "offer" | "declined" | "expired" | ja |
renter | object | ja |
renter.id | uuid | null | ja |
renter.name | string | ja |
renter.phone | string | null | ja |
renter.email | string | null | ja |
renter.street | string | null | ja |
renter.postalCode | string | null | ja |
renter.city | string | null | ja |
vehicles | object[] | ja |
vehicles[].assignmentId | uuid | ja |
vehicles[].vehicleId | uuid | ja |
vehicles[].startsAt | date-time | ja |
vehicles[].endsAt | date-time | ja |
vehicles[].dailyPrice | Money | null | ja |
vehicles[].hourlyPrice | Money | null | ja |
vehicles[].packageName | string | null | ja |
vehicles[].packagePrice | Money | null | ja |
vehicles[].deposit | Money | null | ja |
vehicles[].fuel | object | ja |
vehicles[].fuel.method | "eighth" | "litre" | "receipt" | "none" | ja |
vehicles[].fuel.perEighth | Money | null | ja |
vehicles[].fuel.perLitre | Money | null | ja |
vehicles[].fuel.serviceFee | Money | null | ja |
vehicles[].fuel.tankLitres | integer | null | ja |
vehicles[].fuel.receipt | Money | null | ja |
items | object[] | ja |
items[].label | string | ja |
items[].quantity | integer | ja |
items[].unitPrice | Money | ja |
rentalPrice | Money | null | ja |
promotion | object | null | ja |
promotion.name | string | ja |
promotion.code | string | null | ja |
promotion.how | "auto" | "code" | "manual" | ja |
promotion.dailyPrice | Money | null | ja |
promotion.amountOff | Money | null | ja |
promotion.percentOff | number | null | ja |
promotion.extraKmPrice | Money | null | ja |
promotion.freeKm | integer | null | ja |
promotion.freeExtras | string[] | ja |
promotion.appliedAt | date-time | ja |
total | Money | ja |
note | string | null | ja |
renterHint | string | null | ja |
invoiced | boolean | ja |
billing | object | ja |
billing.inMietflott | boolean | ja |
billing.externalReference | string | null | ja |
billing.billedOn | date | null | ja |
cancellation | object | null | ja |
cancellation.kind | "cancellation" | "no_show" | ja |
cancellation.at | date-time | ja |
cancellation.fee | Money | null | ja |
contractFixedAt | date-time | null | ja |
BookingPage
| Feld | Typ | Pflicht |
|---|
data | BookingSummary[] | ja |
nextCursor | string | null | ja |
BookingSummary
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
number | integer | ja |
status | "confirmed" | "active" | "returned" | "cancelled" | "request" | "offer" | "declined" | "expired" | ja |
renterName | string | ja |
vehicles | object[] | ja |
vehicles[].id | uuid | ja |
vehicles[].plate | string | ja |
startsAt | date-time | null | ja |
endsAt | date-time | null | ja |
total | Money | ja |
source | "office" | "booking_page" | ja |
CancelBooking
| Feld | Typ | Pflicht |
|---|
feeCents | integer | null | |
CancellationProposal
| Feld | Typ | Pflicht |
|---|
daysBefore | integer | ja |
base | Money | ja |
proposedFee | Money | null | ja |
CreateBooking
| Feld | Typ | Pflicht |
|---|
renterId | uuid | null | |
renter | object | |
renter.name | string | ja |
renter.phone | string | null | |
renter.email | email | null | |
renter.street | string | null | |
renter.postalCode | string | null | |
renter.city | string | null | |
addRenterToRecords | boolean | |
vehicles | object[] | ja |
vehicles[].vehicleId | uuid | ja |
vehicles[].startsAt | date-time | ja |
vehicles[].endsAt | date-time | ja |
note | string | null | |
renterHint | string | null | |
acceptTimeRules | boolean | |
promoCode | string | null | |
CreateBookingRequest
| Feld | Typ | Pflicht |
|---|
renterId | uuid | null | |
renter | object | |
renter.name | string | ja |
renter.phone | string | null | |
renter.email | email | null | |
wantedClassId | uuid | null | |
wantedVehicleId | uuid | null | |
startsAt | date-time | ja |
endsAt | date-time | ja |
message | string | null | |
note | string | null | |
CreateRenter
| Feld | Typ | Pflicht |
|---|
name | string | ja |
street | string | null | |
postalCode | string | null | |
city | string | null | |
phone | string | null | |
email | email | null | |
birthDate | date | null | |
note | string | null | |
Error
| Feld | Typ | Pflicht |
|---|
code | code | ja |
fields | object[] | |
fields[].path | string | ja |
fields[].rule | string | ja |
retryAfterSeconds | integer | |
requestId | string | ja |
Handover
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
assignmentId | uuid | ja |
kind | "pickup" | "return" | ja |
status | "draft" | "sealed" | ja |
sealedAt | date-time | null | ja |
odometerKm | integer | null | ja |
fuelEighths | integer | null | ja |
batteryPercent | integer | null | ja |
damageMarks | integer | ja |
signerName | string | null | ja |
protocol | object | ja |
protocol.available | boolean | ja |
protocol.sha256 | string | null | ja |
HandoverList
| Feld | Typ | Pflicht |
|---|
data | Handover[] | ja |
Invoice
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
number | string | ja |
kind | "invoice" | "cancellation" | "credit_note" | ja |
bookingId | uuid | ja |
bookingNumber | integer | ja |
recipientName | string | ja |
issuedAt | date-time | ja |
net | Money | ja |
vat | Money | ja |
gross | Money | ja |
paid | Money | ja |
open | Money | ja |
paymentStatus | "open" | "partly_paid" | "paid" | null | ja |
dueOn | date | null | ja |
overdue | boolean | ja |
cancelled | boolean | ja |
cancelsNumber | string | null | ja |
InvoicePage
| Feld | Typ | Pflicht |
|---|
data | Invoice[] | ja |
nextCursor | string | null | ja |
KeyInfo
| Feld | Typ | Pflicht |
|---|
name | string | ja |
scopes | "vehicles:read" | "bookings:read" | "bookings:write" | "renters:read" | "renters:write" | "invoices:read" | "handovers:read"[] | ja |
expiresAt | date-time | null | ja |
company | object | ja |
company.name | string | ja |
company.currency | "EUR" | "CHF" | ja |
company.timeZone | string | ja |
Location
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
name | string | ja |
street | string | null | ja |
postalCode | string | null | ja |
city | string | null | ja |
timeZone | string | ja |
LocationList
| Feld | Typ | Pflicht |
|---|
data | Location[] | ja |
Money
| Feld | Typ | Pflicht |
|---|
amountCents | integer | ja |
currency | "EUR" | "CHF" | ja |
Renter
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
name | string | ja |
phone | string | null | ja |
email | string | null | ja |
street | string | null | ja |
postalCode | string | null | ja |
city | string | null | ja |
birthDate | date | null | ja |
note | string | null | ja |
licence | object | null | ja |
licence.classes | string[] | ja |
licence.issuedOn | date | ja |
licence.checkedAt | date-time | ja |
block | object | null | ja |
block.reason | "unpaid" | "damage" | "conduct" | "other" | ja |
block.until | date | null | ja |
block.active | boolean | ja |
RenterPage
| Feld | Typ | Pflicht |
|---|
data | Renter[] | ja |
nextCursor | string | null | ja |
UpdateRenter
| Feld | Typ | Pflicht |
|---|
name | string | |
street | string | null | |
postalCode | string | null | |
city | string | null | |
phone | string | null | |
email | email | null | |
birthDate | date | null | |
note | string | null | |
Vehicle
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
plate | string | ja |
vin | string | null | ja |
make | string | ja |
model | string | ja |
fuelType | "petrol" | "super_e10" | "super" | "super_plus" | "diesel" | "electric" | "hybrid" | ja |
odometerKm | integer | ja |
status | "active" | "retired" | ja |
vehicleClass | object | ja |
vehicleClass.id | uuid | ja |
vehicleClass.name | string | ja |
vehicleClass.vehicleType | code | ja |
location | object | ja |
location.id | uuid | ja |
location.name | string | ja |
location.timeZone | string | ja |
dailyPrice | Money | null | ja |
ownDailyPrice | boolean | ja |
tankLitres | integer | null | ja |
VehicleClass
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
name | string | ja |
vehicleType | code | ja |
licenceClass | string | ja |
minDriverAge | integer | ja |
minLicenceYears | integer | ja |
prices | object | ja |
prices.daily | Money | null | ja |
prices.dailyFrom7Days | Money | null | ja |
prices.dailyFrom28Days | Money | null | ja |
prices.hourly | Money | null | ja |
prices.extraKm | Money | null | ja |
prices.deposit | Money | null | ja |
prices.includedKmPerDay | integer | null | ja |
fuel | object | ja |
fuel.method | "eighth" | "litre" | "receipt" | "none" | ja |
fuel.perEighth | Money | null | ja |
fuel.perLitre | Money | null | ja |
fuel.serviceFee | Money | null | ja |
minimumRentalMinutes | integer | null | ja |
VehicleClassList
| Feld | Typ | Pflicht |
|---|
data | VehicleClass[] | ja |
VehiclePage
| Feld | Typ | Pflicht |
|---|
data | Vehicle[] | ja |
nextCursor | string | null | ja |
WebhookEvent
| Feld | Typ | Pflicht |
|---|
id | uuid | ja |
type | "booking.created" | "booking.updated" | "booking.cancelled" | "handover.sealed" | "invoice.issued" | "invoice.cancelled" | "webhook.test" | ja |
occurredAt | date-time | ja |
data | object | ja |
data.bookingId | uuid | |
data.handoverId | uuid | |
data.handoverKind | "pickup" | "return" | |
data.invoiceId | uuid | |
data.endpointId | uuid | |