> ## Documentation Index
> Fetch the complete documentation index at: https://docs.harmonyforstaffing.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Job

> Update an existing job posting

Update the details of an existing job posting.

### Path Parameters

<ParamField path="id" type="number" required>
  ID of the job to update
</ParamField>

### Body Parameters

<ParamField body="title" type="string" required>
  Job title
</ParamField>

<ParamField body="description" type="string" required>
  Detailed job description
</ParamField>

<ParamField body="startDate" type="integer" required>
  Job start date (Unix timestamp)
</ParamField>

<ParamField body="publicDescription" type="string">
  Public-facing job description
</ParamField>

<ParamField body="address" type="object" required>
  Job location

  <Expandable title="Address fields">
    <ParamField body="address1" type="string">
      Street address line 1
    </ParamField>

    <ParamField body="address2" type="string">
      Street address line 2
    </ParamField>

    <ParamField body="city" type="string">
      City
    </ParamField>

    <ParamField body="state" type="string">
      State
    </ParamField>

    <ParamField body="zip" type="string">
      ZIP/Postal code
    </ParamField>

    <ParamField body="countryCode" type="string">
      Country code
    </ParamField>

    <ParamField body="timezone" type="string">
      Timezone
    </ParamField>
  </Expandable>
</ParamField>

<ParamField body="employmentType" type="string" required enum={["DIRECT", "CONTRACT"]}>
  Type of employment
</ParamField>

<ParamField body="status" type="string" required enum={["OPEN", "CLOSED", "ON_HOLD", "FILLED"]}>
  Current status of the job
</ParamField>

<ParamField body="notes" type="string">
  Additional notes about the job
</ParamField>

### Response

<ResponseField name="id" type="integer">
  The ID of the updated job
</ResponseField>

<ResponseField name="dateAdded" type="integer">
  Unix timestamp when the job was added
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl --request PUT \
    --url https://api.harmonyforstaffing.com/api/jobs/789 \
    --header 'Authorization: Bearer <token>' \
    --header 'Content-Type: application/json' \
    --data '{
      "title": "Senior ICU Nurse",
      "description": "Looking for experienced ICU nurse...",
      "publicDescription": "Join our award-winning hospital...",
      "startDate": 1699892400000,
      "address": {
        "address1": "123 Hospital Way",
        "city": "San Francisco",
        "state": "CA",
        "zip": "94105",
        "countryCode": "US"
      },
      "employmentType": "CONTRACT",
      "status": "OPEN",
      "notes": "Immediate start required. Night shift position."
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": 789,
    "title": "Senior ICU Nurse",
    "description": "Looking for experienced ICU nurse...",
    "publicDescription": "Join our award-winning hospital...",
    "dateAdded": 1679253000,
    "startDate": 1699892400000,
    "address": {
      "address1": "123 Hospital Way",
      "city": "San Francisco",
      "state": "CA",
      "zip": "94105",
      "countryCode": "US"
    },
    "employmentType": "CONTRACT",
    "status": "OPEN",
    "notes": "Immediate start required. Night shift position."
  }
  ```
</ResponseExample>
