Change a scheduled shift
shiftbase_update_rosterWRITE: change a scheduled shift: move it to another date, time, employee, team or shift type, or change its break or note. Reads the shift first and sends it back with your changes. For a recurring shift, scope says what changes: "occurrence" (this date only), "sequence" (this date and all later ones) or "original" (the whole series; also the right scope for a non-recurring shift). PUT /rosters/{occurrenceId}/{scope}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | New date (yyyy-mm-dd). | |
| scope | Yes | "original" for a non-recurring shift; see the description for recurring ones. | |
| notify | No | Notify the employee (default false). | |
| team_id | No | New team. | |
| user_id | No | New employee. | |
| end_time | No | New end, hh:mm. | |
| shift_id | No | New shift type. | |
| start_time | No | New start, hh:mm. | |
| description | No | New note. | |
| break_minutes | No | New unpaid break in minutes. | |
| department_id | No | New department (when moving to a team of another department). | |
| occurrence_id | Yes | occurrence_id from shiftbase_list_rosters. | |
| paid_break_minutes | No | New paid break in minutes. |