Kiosk shifts
Correct a kiosk shift
PATCHhttps://paysuitett.com/api/v1/kiosk-shifts/{id}
Changes a shift's clock-in, clock-out or break, with a note, and approves it; its payroll hours are rebuilt. Use it to fix a missed clock-out. Send only what changes.
Access. Master key only.
Path parameters
idstring · uuidrequired- The shift's ID.
Body
A JSON object. Every field is optional.
clock_instring · date-time- New clock-in, ISO 8601 with the offset.
clock_outstring · date-time- New clock-out, after the clock-in and not in the future. Required when the shift has none.
break_minutesinteger- Total break minutes, shorter than the shift.
notestring- Why it changed; shown on the Kiosk shifts page.
Response
200 with a JSON body, as in the example.
- Nobody can correct or approve their own shift; an owner or accountant does it.