v1
Work Streams
work-streams
Update Work Stream Calendar
Save or clear a work stream's calendar override. Executing shop only.
patch/api/v1/work-streams/{work_stream_id}/calendar
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
work_stream_id, integer required
Request body
Work Stream Calendar Update required
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, Work Stream Holiday[] nullable
Full replacement list for this stream (custom only)
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 56 revisions of this API.