Vehicles (Protected)
Get Vehicle Contracts
Get all contracts for a vehicle.
Returns contracts with:
- Client name
- Dates (contract, close)
- Values (reserve, sale)
- Calculated commission
By default, suspended contracts (IDestado=3) are hidden. Pass ?include_suspended=true to include them — the frontend toggle drives this.
get/api/vehicles/{vehicle_id}/contracts
Path parameters
vehicle_idinteger required
Query parameters
include_suspendedboolean
Include IDestado=3 (Suspenso) rows
Include IDestado=3 (Suspenso) rows
Headers
x-api-tokenstring nullable
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.