Update employee

Partially update an employee record for your company. It changes only the record named: the user's other records in the company (listed in roles) keep their own profile details. Supported fields for this endpoint are: first_name, middle_name, nickname, last_name, dob, mobile_phone, home_phone, address, start_date, workplace, department_id, timezone and ssn. For an employee or contractor paid through payroll (not timetrack_only), a change to their name, dob, address, start_date, workplace or ssn is also sent to the payroll provider. If they have no payroll profile yet, it is created once they have a dob and an address, sent now or saved before; this is how to finish a profile an invite could not create. For these people the address and dob follow the invite rules (two-letter US state, 5- or 9-digit ZIP, country US, a real past date). The change is saved in Friday first, then sent to the payroll provider. The 200 response then carries payroll_sync: { ok: true }, or { ok: false, error } when the provider refused it; the Friday change stays saved, and the next update that syncs sends the whole record again. ssn is accepted only for someone paid through payroll who has, or is getting, a payroll profile. A worker dismissed in a previous calendar year, or dismissed with no dismissal record, cannot be updated; a dismissal in the current calendar year can.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Unique employee identifier

Body Params
string
string | null
string | null
string
string

Date of birth in YYYY-MM-DD format

string | null
string | null
date | null
string | null

Workplace ID for payroll profiles

integer | null
string | null
string

Social Security number, 9 digits. Friday keeps the last four; the full number goes only to the payroll provider. Only for an employee or contractor paid through payroll who has, or is getting, a payroll profile.

address
object | null
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json