---
title: "Update a job and replace its Company Attributes with the payload"
method: PATCH
path: "/api/serviceworkforce/processes/jobs/{jobUuid}/custom_attributes"
tags: ["jobs"]
---

# Update a job and replace its Company Attributes with the payload

`PATCH /api/serviceworkforce/processes/jobs/{jobUuid}/custom_attributes`

Updates a Job and upserts its Company Attributes. The provided customAttributesPayload replaces the entire set of attributes attached to the job: any attribute not present in the payload will be removed; provided ones will be created/updated. Values must match the attribute data type configured for the company attribute.

## Path parameters

- `jobUuid` string, uuid, required

## Request body

- object
  - `jobPayload` Job
    - `uuid` string, uuid
    - `createdAt` string, date-time — Creation timestamp
    - `createdBy` string, uuid — Creator UUID
    - `lastUpdatedAt` string, date-time — Last update timestamp
    - `lastUpdatedBy` string, uuid — Last updater UUID
    - `lastUpdatedByAudience` string — Audience of last updater
    - `lastUpdatedByAudienceUuid` string, uuid — Audience UUID of last updater
    - `lastUpdatedByImpersonatedBy` string, uuid — Impersonator UUID
    - `lastUpdatedByCompanyUuid` string, uuid — Company UUID of last updater
    - `lastUpdatedByEnterpriseUuid` string, uuid — Enterprise UUID of last updater
    - `name` string, required — Job name
    - `description` string
    - `externalDescription` string — Applicant-facing job description; supports HTML.
    - `companyUuid` string, uuid — Company UUID
    - `allowUnscheduledShift` boolean
    - `externalPosition` object
      - `source` 'hire' | 'hire-go' | 'workday', required — External source system
      - `externalIdentifier` string
      - `externalCreatedAt` string, date-time
  - `customAttributesPayload` object[] — Replacement list of Company Attributes to attach to the job. Attribute may be referenced by UUID or key and value must match the attribute's configured data type. Omit the field to leave the job's existing attributes unchanged; provide an empty array ([]) to remove all attributes from the job.
    - `attribute` string, required — Attribute UUID or key
    - `value` unknown, required

## Response `204`

Updated successfully. No content returned.

## Other responses

- `400` — default error response
- `404` — default error response

---

[API](https://skmtc.dev/fountain/apis/hire-public-api.md) · [All operations](https://skmtc.dev/fountain/apis/hire-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fountain/hire-public-api/revisions/5f406c0e9462/schema)
