Update a job
/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.
Path parameters
uuiduuidrequiredThe person UUID, the `id` from List people.
jobUuiduuidrequiredThe job UUID, the `id` from List a person's jobs.
Request body
titlestringThe name of an existing position in the workspace, matched without regard to case. The job takes that position.
ratestringWage, zero or more.
paymentUnitstringWhat the rate is paid per, for example `hour`.
compensationTypeenumRequired on create.
One of: hourly, salary, commission
hireDatedateFirst day in the job (YYYY-MM-DD).
employmentStatusenumEmployment status.
One of: full_time, part_time, seasonal, variable
jobLocationTypestringWhere the job is worked, for example `office` or `remote`.
locationUuiduuidWork location UUID, the `location.id` on one of the workspace's jobs; null clears it. A location from another workspace returns 404.
flsaStatusstringFLSA status.
paymentMethodenumHow the job is paid.
One of: direct_deposit, check
overtimeEligiblebooleanWhether the job earns overtime.
primarybooleanWhether 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. Troubleshoot403The credential does not have access to this workspace or resource. Troubleshoot429Rate limit exceeded (100 requests per minute per user of each app, or 10,000 per minute per app). Retry after the Retry-After header. Troubleshoothttps://api.getcount.com/partners/people/{uuid}/jobs/{jobUuid}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());{
"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"
}
}
}
}