Skip to main content
POST
/
contractors
/
batch
/
upsert
Batch upsert contractors
curl --request POST \
  --url https://sandbox.nmbr.co/services/payroll/contractors/batch/upsert \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "id": "<id>",
    "first_name": "Dan",
    "last_name": "Smith"
  },
  {
    "first_name": "Jane",
    "last_name": "Doe",
    "email": "jane.doe@example.com"
  }
]
'

Authorizations

Authorization
string
header
required

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

Body

application/json
Required array length: 1 - 100 elements

Response

202

Accepted