<- Labor API

Labor API

All versions ->

Update shift

PUT

 /v2/labor/shifts/{id}

Updates an existing Shift.

When adding a Break to a Shift, any earlier Break instances in the Shift have the end_at property set to a valid RFC-3339 datetime string.

When closing a Shift, all Break instances in the Shift must be complete with end_at set on each Break.

Permissions:TIMECARDS_READ, TIMECARDS_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

id

string

Required

The ID of the object being updated.

Link to section

Request body

Link to section

shift

Required

The updated Shift object.

Link to section

Response fields

Link to section

shift

The updated Shift.

Link to section

errors

Any errors that occurred during the request.