Skip to main content
PUT
/
employees
/
{employee}
Update an employee
curl --request PUT \
  --url https://sandbox.nmbr.co/services/payroll/employees/{employee} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "employee_number": "001",
  "first_name": "Marley",
  "last_name": "Prosacco",
  "personal_email": "marley.prosacco@personal.test",
  "work_email": "mprosacco@work.test",
  "address_line_1": "Angelina Ridge",
  "city": "Toronto",
  "province_code": "ON",
  "country_code": "CA",
  "postal_code": "M1M1M1",
  "sin": "196710156",
  "date_of_birth": "1985-01-20"
}
'
{
  "id": "<id>",
  "object": "employee",
  "data": {
    "company": {
      "id": "<id>",
      "object": "company",
      "links": {
        "self": "/companies/<id>"
      }
    },
    "employee_number": "001",
    "first_name": "Marley",
    "last_name": "Prosacco",
    "middle_initial": null,
    "personal_email": "marley.prosacco@personal.test",
    "work_email": "mprosacco@work.test",
    "address_line_1": "Angelina Ridge",
    "address_line_2": null,
    "city": "Toronto",
    "province_code": "ON",
    "country_code": "CA",
    "postal_code": "M1M1M1",
    "sin": "196710156",
    "sin_last_3": "156",
    "date_of_birth": "1985-01-20",
    "warnings": {
      "object": "list",
      "data": [
        {
          "object": "warning",
          "data": {
            "namespace": "onboarding",
            "type": "bank_account_doesnt_exists"
          }
        }
      ]
    },
    "external_ref": null,
    "preferred_locale": null,
    "archived_at": null,
    "created_at": "2026-01-01T00:00:00.000000Z",
    "updated_at": "2026-01-01T00:00:00.000000Z"
  },
  "links": {
    "self": "/employees/<id>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

employee
string
required

Body

application/json
employee_number
string | null

An optional identifier for the employee within the partner's system, such as a badge number or HR system ID. Distinct from id and external_ref.

Maximum string length: 40
first_name
string

The employee's first name.

Maximum string length: 50
last_name
string

The employee's last name.

Maximum string length: 50
middle_initial
string | null

The employee's middle initial.

Maximum string length: 1
personal_email
string | null

The employee's personal email address, used as the primary address for payroll communications such as Pay Stub emails.

work_email
string | null

The employee's work email address. Used for payroll communications if personal_email is not set.

address_line_1
string | null

The first line of the employee's mailing address. This character limit (30) is set by government reporting requirements, not application-level validation.

Maximum string length: 30
address_line_2
string | null

The second line of the employee's mailing address. This character limit (30) is set by government reporting requirements, not application-level validation.

Maximum string length: 30
city
string | null

The city of the employee's mailing address.

Maximum string length: 28
province_code
enum<string>

The province code for the employee's mailing address. This is the Province of Residence (POR), not the Province of Employment (POE) or Province of Work (POW). POE and POW are configured via the Work Assignment's Tax Properties.

Available options:
AB,
BC,
MB,
NB,
NL,
NS,
NT,
NU,
ON,
PE,
QC,
SK,
YT
country_code
enum<string>

The country code for the employee's mailing address.

Available options:
CA
postal_code
string | null

The postal code for the employee's mailing address.

Maximum string length: 10
sin
string

The employee's Social Insurance Number (SIN), used for tax reporting.

date_of_birth
string<date>

The employee's date of birth.

external_ref
string
Maximum string length: 255
preferred_locale
enum<string>

The locale used for payroll communications sent to this employee, such as Pay Stub emails. If not set, the Business Entity's locale is used.

Available options:
en,
fr
archived_at
string<date>

The date the employee was archived. Archiving an employee also archives all Work Assignments that are not already archived. Archived employees do not appear in active listings.

Response

200 - application/json

OK

id
string
read-only

The unique identifier of the object in Nmbr.

object
string
read-only

The type of the object in Nmbr ("employee").

data
Employee · object