PeopleUpdate a job

Update a job

PATCH/partners/people/{uuid}/jobs/{jobUuid}

Updates one of the person's jobs.

Send only the fields that change; the rest are kept from the current job. A new `title` moves the job to that existing position. For a payroll employee's primary job the change is also sent to the payroll provider.

HMAC signature + Bearer access token
Try this request

Path parameters

uuiduuidrequired

The person UUID, the `id` from List people.

jobUuiduuidrequired

The job UUID, the `id` from List a person's jobs.

Request body

titlestring

The name of an existing position in the workspace, matched without regard to case. The job takes that position.

ratestring

Wage, zero or more.

paymentUnitstring

What the rate is paid per, for example `hour`.

compensationTypeenum

Required on create.

One of: hourly, salary, commission

hireDatedate

First day in the job (YYYY-MM-DD).

employmentStatusenum

Employment status.

One of: full_time, part_time, seasonal, variable

jobLocationTypestring

Where the job is worked, for example `office` or `remote`.

locationUuiduuid

Work location UUID, the `location.id` on one of the workspace's jobs; null clears it. A location from another workspace returns 404.

flsaStatusstring

FLSA status.

paymentMethodenum

How the job is paid.

One of: direct_deposit, check

overtimeEligibleboolean

Whether the job earns overtime.

primaryboolean

Whether this is the person's primary job. A person has one.

Responses

200The updated job.
400Validation failed, or a second primary job.
404Person, job, position or work location not found.
409Two positions share the name in `title`.
401Missing or invalid HMAC signature, expired timestamp, or invalid Bearer token. Troubleshoot
403The credential does not have access to this workspace or resource. Troubleshoot
429Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. Troubleshoot
PATCHhttps://api.getcount.com/partners/people/{uuid}/jobs/{jobUuid}
Request
import crypto from 'node:crypto';

const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;
const ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'PATCH';
const signingPath = '/people/f1a2b3c4-d5e6-4789-a012-3456789abcde/jobs/0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a8e';
const timestamp = Math.floor(Date.now() / 1000).toString();
const body = {
  "rate": "26"
};
const bodyString = JSON.stringify(body);

const bodyHash = crypto.createHash('sha256').update(bodyString).digest('hex');
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');

const response = await fetch(`${BASE_URL}/partners/people/f1a2b3c4-d5e6-4789-a012-3456789abcde/jobs/0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a8e`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'Content-Type': 'application/json',
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
  body: bodyString,
});

console.log(await response.json());
Response · 200
{
  "status": "success",
  "message": "Success on updating employee job.",
  "data": {
    "employeeJob": {
      "id": "0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a8e",
      "title": "Barista",
      "primary": true,
      "rate": "26.0000",
      "paymentUnit": "hour",
      "compensationType": "hourly",
      "hireDate": "2026-11-01",
      "employmentStatus": "part_time",
      "jobLocationType": "office",
      "location": {
        "id": "0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a6c",
        "name": "Main Street"
      }
    }
  }
}