Update Staff Note
Changes the text of the note a staff member already has on a date. Never creates a note: to add one, use Add Staff Note (POST /staff/note). Shared rules: see Writing data.
- Same body as Add Staff Note. The body is closed: an unknown field is refused with
400. Counts toward your write budget. - The note on that date gets the new text. If several exist, the newest is changed. Images and the original creator and
created_onare kept. - No note on that date:
404. - CRM and business-contact notes are never touched.
- The staff member gets an app notification (“Admin has updated a note.”).
- Same staff access rules as Add Staff Note. Deleting notes is not available. Use List Staff Notes to read notes back.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
salarybox_id
SalaryBox ID of the staff member the note is for.
note
Note text, 1-2000 characters (extra spaces around it are trimmed).
date
The date the note is about, YYYY-MM-DD.
Response
The note on that date was changed (data.action = updated).
message
Note added successfully when created, Note for this date updated successfully when overwritten.
status
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
