Fleet API (Pro)
Manage vehicles programmatically
Authentication
Create an API key in Vendor Settings (Pro plan required). Pass it as a Bearer token:
Authorization: Bearer hc_live_xxxxxxxx
Base URL
https://www.hirecarmarketplace.com.au/api/v1
Endpoints
GET /vehicles— List your fleetPOST /vehicles— Create a listing (status: pending)PUT /vehicles/:id— Update a listingDELETE /vehicles/:id— Archive a listing
Create vehicle example
POST /api/v1/vehicles
Content-Type: application/json
Authorization: Bearer hc_live_xxx
{
"title": "2024 Toyota Camry",
"make": "Toyota",
"model": "Camry",
"year": 2024,
"category": "Sedan",
"pricePerDayAud": 89,
"branchId": "uuid-of-branch",
"seats": 5,
"fuel": "Petrol",
"transmission": "Automatic"
}New listings require admin approval before appearing in search. Rate limits apply per API key.
