Vehicles (Protected)
Update Vehicle
Update existing vehicle.
Business rules:
- Cannot modify if belongs to different company
- Quadro uniqueness validation if changing
- Partial updates supported
- fechado/datafecho are protected — only /fechar can change them (irreversible)
- When Estado transitions to 5 (Suspenso) and unpublish_ads=true, the vehicle is removed from all websites and Integrazu portals after the state change.
put/api/vehicles/{vehicle_id}
Path parameters
vehicle_idinteger required
Query parameters
unpublish_adsboolean
When Estado transitions to 5 (Suspenso), also remove the vehicle from all websites and Integrazu portals.
When Estado transitions to 5 (Suspenso), also remove the vehicle from all websites and Integrazu portals.
Headers
x-api-tokenstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.