Update an existing shift

Update an existing shift with the specified ID and details.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The ID of the shift to update

Body Params
activities
array of objects | null

The activities that are linked to the shift

Activities
boolean | null
Defaults to false

Whether person can request changes to the timing of their shift

boolean | null
Defaults to false

Whether timesheet associated with the shift has been approved

boolean | null
Defaults to false

Whether shift has been archived

boolean | null
Defaults to false

Whether shift change requests should be approved automatically

boolean | null
Defaults to false

Whether to update joined objects that are linked to the shift

client_ids
array of integers | null

List of client IDs required for shift

Client Ids
date-time | null

The time when the person clocked in (UTC)

date-time | null

The time when the person clocked out (UTC)

boolean | null
Defaults to false

Whether shift was created as a result of clocking-in

date-time
required

The end time (UTC) of the shift e.g 2023-07-27 06:30:00+00

boolean | null
Defaults to false

Whether the shift has flexible hours

boolean | null
Defaults to false

Whether the shift is re-syncing to the user's calendar

boolean | null
Defaults to false

Whether the shift is re-sending email to the user

boolean | null
Defaults to false

Whether the shift is re-publishing on slack

boolean | null
Defaults to false

Whether the shift is re-sending sms to the user

license_type_ids
array of integers | null

List of license types IDs required for shift

License Type Ids
boolean | null
Defaults to false

Whether the shift needs syncing to the user's calendar

boolean | null
Defaults to false

Whether the shift needs re-sending email to the user

boolean | null
Defaults to false

Whether the shift needs publishing on slack

boolean | null
Defaults to false

Whether the shift needs re-sending sms to the user

string | null

Any notes about the shift

integer | null

The ID of the payment associated with the shift

integer | null

The number of people required for the shift if unassigned

integer | null

The ID of the person assigned to the shift (if any)

published_detail
object | null

Details the shift that was published

recurrence_details
object

The recurrence details for the shift

integer | null

The ID of the recurrence the shift belongs to

integer | null

ID of the request that created the shift

integer | null

The ID of the role the shift belongs to (if any)

integer | null

The ID of the shift type

date-time
required

The start time (UTC) of the shift e.g 2023-07-27 06:30:00+00

string | null
Defaults to approved

The status of the shift

integer | null

The ID of the team the shift belongs to (if any)

date-time | null

When shift was last published

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json