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 URL
    https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

work_stream_id, integer required

Request body

WorkStreamCalendarUpdate 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, WorkStreamHoliday[] 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.