---
title: "Update Work Stream Calendar"
method: PATCH
path: "/api/v1/work-streams/{work_stream_id}/calendar"
tags: ["v1", "Work Streams", "work-streams"]
---

# Update Work Stream Calendar

`PATCH /api/v1/work-streams/{work_stream_id}/calendar`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/work-streams/{work_stream_id}/calendar`
- Auth: none declared

Save or clear a work stream's calendar override. Executing shop only.

## Path parameters

- `work_stream_id` integer, required

## Request body

- WorkStreamCalendarUpdate: PATCH /work-streams/{id}/calendar body. source='inherit' clears the stream override (NULL columns → inherit the executing shop's calendar). source='custom' persists this stream's whole week INCLUDING its holidays, which are a full replacement list, not a delta. Quote-owned streams cannot be customized.
  - `source` string, required: 'inherit' | 'custom'
  - `working_days` integer[], nullable: ISO weekdays 1=Mon..7=Sun (custom only)
  - `hours_per_day` number, nullable: Hours per working day (custom only)
  - `holidays_mode` string, nullable: 'add' (to shop's) | 'replace' — custom only
  - `holidays` WorkStreamHoliday[], nullable: Full replacement list for this stream (custom only)
    - `date` string, required: Holiday date YYYY-MM-DD
    - `name` string, nullable: Display name, e.g. 'Client site closed'

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
