For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Update shifts

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

An id is required on every entry, and must belong to your organization. Updating a shift does not notify anyone already booked onto it, and does not move its reminders if you change the time. To move a shift by more than an hour or two, cancel it and create a new one.

Endpoint

PUT api/shifts/bulk-update/

Example Request Payload

{
    "allow_partial": false,
    "shifts": [
        {
            "id": "4a9f2c7e-1b2c-4d3e-8f90-a1b2c3d4e5f6",
            "spots": 20
        },
        {
            "id": "8c1d3f5a-2b3c-4d5e-9f01-b2c3d4e5f607",
            "shift_start_at": "2026-11-02T15:00:00Z",
            "shift_end_at": "2026-11-02T18:00:00Z",
            "shift_timezone": "PT",
            "use_default_location": true
        }
    ]
}

Behavior

  • Omitting a field leaves it unchanged.

  • Moving one end of a shift is checked against the end already stored, so a new start cannot be placed after the existing end.

  • shift_timezone accepts the same codes and names as on create. Leaving it out keeps the shift's current zone: no default is applied on update.

  • use_default_location: true clears the shift's location, so it inherits the opportunity's address. Sending shift_location_id: null does the same thing.

  • Moving a shift onto a time another shift already occupies is refused unless allow_duplicate_times is true.

  • The opportunity a shift belongs to cannot be changed. Create the shift on the other opportunity instead.

  • notified comes back empty, because an update never re-runs reminders, chat rooms or notifications.