# Quick Start: Update Job Requisition

This API currently only supports a full update. Similar to Get Job Requisition, there are two ways to identify a job requisition for a update: externalId and Id. The payload is similar to POST operation but require both externalId and Id exist in payload.

PUT /v1/job-requisitions/$id=8c4b4d0b-b597-41ea-9f1d-9900e0d14583
HTTP 1.1
Host: {your portal}.csod.com
Authorization: Bearer {your oauth2 token}

{
    "externalId": "ats|csod|id|12345",
    "id": "8c4b4d0b-b597-41ea-9f1d-9900e0d14583",
    "details": {
        "en-US": {
            "title": "software engineer",
            "description": "description",
            "jobDetailsUrl": "https://csod.com/jobs/1"
        }
    },
    "location": {
        "name": "Auckland, New Zealand",
        "countryCode": "NZ",
        "city": "Auckland",
        "isPrimary": true
    },
    "status": "open",
    "createdTime": "2021-04-29T09:12:33.001Z",
    "lastUpdatedTime": "2021-04-29T09:12:33.001Z",
    "expiryTime": "2021-12-29T09:12:33.001Z",
    "openings": 3,
    "defaultCulture": "en-US"
}

# Payload validation

The payload will be validated following the similar requirement in the Create Job Requisition operation.