---
title: "Update Photos Order"
method: PUT
path: "/api/vehicles/{vehicle_id}/photos/order"
tags: ["Vehicles (Protected)"]
---

# Update Photos Order

`PUT /api/vehicles/{vehicle_id}/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}
    ]

## Path parameters

- `vehicle_id` integer, required

## Headers

- `x-api-token` string, nullable

## Request body

- object[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/multigest/apis/multigest-protected-api.md) · [All operations](https://skmtc.dev/multigest/apis/multigest-protected-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/multigest/multigest-protected-api/revisions/1a3bc16bb0c0/schema)
