timeTrackingShifts

Applies a partial update to an existing shift, modifying only the fields supplied in the request body. Fields omitted from the request are left unchanged. Correction shifts cannot be updated through this endpoint, the update is blocked once the payroll cycle the shift belongs to has closed, and summary.shift_rate_external_id cannot be repointed to a shift rate of a different type than the shift currently has.

Token scopes: time-tracking:write

patch/time_tracking/shifts/{external_id}

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

external_id, string required

Unique identifier of the shift to be updated.

Request body

object required
data, TimeTrackingShiftsExternalIdPatchRequestBodyContentApplicationJsonSchemaData required

Response

Shift updated successfully.

TimeTrackingShiftsUpdateTimeTrackingShiftByExternalIdResponse200 required

Shift response wrapper

data, TimeTrackingShiftsExternalIdPatchResponsesContentApplicationJsonSchemaData required

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status