November 23, 2026
Work Schedule Lead Times on PUT /v3/WorkSchedules/{WorkScheduleKey}
PUT /v3/WorkSchedules/{WorkScheduleKey} now updates a schedule’s lead times the same way Karbon does:
PUT https://api.karbonhq.com/v3/WorkSchedules/Bm6CGxrWp8W
{
"WorkScheduleKey": "Bm6CGxrWp8W",
"InitializeBeforeStartDateUnits": "Weeks",
"InitializeBeforeStartDateMultiple": 2,
"InitializeTasksBeforeStartDateUnits": "Days",
"InitializeTasksBeforeStartDateMultiple": 5,
...
}
InitializeBeforeStartDateUnitsandInitializeBeforeStartDateMultipleset how long before its start date each work item is created. Previously, the update took this lead time fromCustomFrequencyUnitsandCustomFrequencyMultiple.CustomFrequencyUnitsandCustomFrequencyMultipleare ignored, because a schedule’s repeat frequency can’t be changed after it’s created.- Leaving out a lead time keeps the schedule’s current value. Previously, leaving out
InitializeTasksBeforeStartDateMultiplecleared the task lead time.
If you send back a schedule as GET /v3/WorkSchedules/{WorkScheduleKey} returned it, you don’t need to change anything.
Refer to the API documentation for more information on updating work schedules.