Update
Developing
PATCH
/vehicles/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH '/vehicles/' \
--header 'Authorization: {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"vehicle": {
"license_plate": "{{$vehicle.vrm}}",
"make": "{{$vehicle.manufacturer}}",
"model": "{{$vehicle.model}}",
"year": 2000,
"status": "disponible"
}
}'
Response Response Example
200 - Success
{
"id": 1,
"license_plate": "ABC1234",
"make": "Kia",
"model": "Corolla",
"status": "en_taller",
"year": 2020
}
Request
Path Params
id
string
required
Header Params
Authorization
string
required
Example:
{{token}}
Body Params application/json
Responses
Modified at 2025-06-13 21:24:43