> For the complete documentation index, see [llms.txt](https://docs.vomevolunteer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vomevolunteer.com/resources/schedule/shift-locations/write-operations/update-shift-locations.md).

# Update shift locations

This endpoint updates existing shift locations, matched by their Vome ID. Only the fields you send are changed.

<mark style="color:red;">An</mark> <mark style="color:red;">**id**</mark> <mark style="color:red;">is required on every entry, and must belong to your organization.</mark> <mark style="color:red;">**address**</mark> <mark style="color:red;">cannot be set to an empty value.</mark>

#### Endpoint

```plaintext
PUT api/shift-locations/bulk-update/
```

#### Example Request Payload

```json
{
    "allow_partial": false,
    "shift_locations": [
        {
            "id": "6f3b1c2a-9a1e-4a3f-9d21-0f0a2f5c77aa",
            "meeting_place": "Loading dock, east side"
        },
        {
            "id": "9d4c2e7b-1a2b-4c3d-8e9f-0a1b2c3d4e5f",
            "address": "12 Harbour Road, Boston, MA, USA",
            "latitude_longitude": ["42.3600825", "-71.0588801"]
        }
    ]
}
```

#### Behavior

* Omitting a field leaves it unchanged.
* Changing the address does not move the pin on its own. Send `latitude_longitude` alongside it so the location stays findable on a map.
* Shifts already pointing at this location pick up the change, because they reference it by ID.
