Update Staff Punch
Moves an existing punch to a new time. Shared rules: see Writing data.
- Identify the punch by
salarybox_id,date,typeand its currenttime, exactly asGET /attendance/time-entryreturns them (matched to the second). - Only the time can change, not the type. The punch keeps its shift and break link.
new_timestampfollows the Add Staff Punch rules: not in the future, ondateor the next day,datewithin the last 60 days and not in a finalised payroll month.- Deleting punches is not available through the API.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
salarybox_id
The staff member.
date
YYYY-MM-DD attendance date of the punch.
type
Type of the punch to change.
Allowed values:
time
The punch’s current time, ISO 8601 with a UTC offset, as GET /attendance/time-entry returns it.
new_timestamp
The new time, ISO 8601 with a UTC offset.
Response
The punch was updated.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
