Vehicles (Protected)

Update Photos Order

Update the order of vehicle photos.

Args: vehicle_id: Vehicle ID photos: List of {url: str, ordem: int} to update order

Example body: [ {"url": "https://...", "ordem": 1}, {"url": "https://...", "ordem": 2} ]

put/api/vehicles/{vehicle_id}/photos/order

Path parameters

vehicle_idinteger required

Headers

x-api-tokenstring nullable

Request body

object[] required

Response

Successful Response

{"stackTrail":"paths:/api/vehicles/{vehicle_id}/photos/order:put:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 3 revisions of this API.