> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.deel.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.deel.com/_mcp/server.

# Update EOR Contract

PATCH https://api.letsdeel.com/rest/eor/contract/{contract_id}
Content-Type: application/json

Applies partial updates to mutable fields of an EOR contract, such as salary, job title, or benefits. Only fields included in the request body are modified; fields required for validation must still be present.

 **Token scopes**: `contracts:write`

Reference: https://developer.deel.com/api/eor-endpoints/eor-contract/update-eor-contract

## Authentication

- `Authorization` header (bearer token, required) — ## Authentication The Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail. ```curl curl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \ -H 'Authorization: Bearer YOUR-TOKEN-HERE' ``` [Learn more about authentication](/api/authentication)
- `Authorization` header (bearer token, required) — Standard OAuth2 security scheme based on https://swagger.io/docs/specification/authentication/

## Servers

- `https://api.letsdeel.com/rest` (Production, default)
- `https://api-staging.letsdeel.com/rest` (Demo)

## Request

### Path parameters

- `contract_id` (string, required) — The unique identifier of the employee contract.

### Body (application/json)

This endpoint expects an object.

- `data` (EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaData, required)

## Response

### 200

Contract updated successfully

- `oid` (string, required) — The unique identifier of the employee contract.
- `status` (enum, required) — Current status of the contract
  - Allowed values: `new`, `under_review`, `waiting_for_client_sign`, `waiting_for_eor_sign`, `waiting_for_employee_sign`, `awaiting_deposit_payment`, `rejected`
- `scope_of_work` (string, optional) — Scope of work description.

## Errors

### 400 Bad Request Error

Bad Request

- `errors` (list of EorContractContractIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required)

### 401 Unauthorized Error

Operation failed.

- `request` (ApiErrorRequest, optional)
- `errors` (list of ApiError, optional)

### 403 Forbidden Error

Forbidden

- `errors` (list of EorContractContractIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required)

### 404 Not Found Error

Not Found

- `errors` (list of EorContractContractIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required)

### 500 Internal Server Error

Internal Server Error

- `errors` (list of EorContractContractIdPatchResponsesContentApplicationJsonSchemaErrorsItems, required)

## Types

### EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaData

- `job_title` (string, required) — Job title (cannot be C-level position)
- `start_date` (string, required) — Employment start date
- `employee_email` (string, required) — Employee's email address
- `employment_type` (enum, required) — Type of employment
  - Allowed values: `Full-time`, `Part-time`
- `employee_last_name` (string, required) — Employee's last name
- `employment_country` (string, required) — Country of employment
- `employee_first_name` (string, required) — Employee's first name
- `scope` (EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataScope, optional) — Scope of work description, either as a plain string or as a reference to a scope template.
- `salary` (float, optional) — Annual salary amount. Optional; must not be sent when is_hourly is true.
- `benefits` (list of EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataBenefitsItems, optional, nullable) — Array of employee benefits
- `currency` (string, optional) — Currency code for salary and benefits
- `end_date` (string, optional, nullable) — Employment end date
- `holidays` (double, optional, nullable) — Number of holiday days per year
- `is_hourly` (boolean, optional, nullable) — Indicates if compensation is hourly
- `work_visa` (boolean, optional, nullable) — Indicates if work visa is required
- `employee_id` (string, optional) — Employee's unique identifier
- `hourly_rate` (float, optional, nullable) — Hourly rate. Required when is_hourly is true. Must not be sent when is_hourly is false or omitted.
- `is_resubmit` (boolean, optional, nullable) — Indicates if this is a resubmission
- `schedule_id` (string, optional, nullable) — Unique identifier for the employee's work schedule
- `seniority_id` (double, optional) — Seniority level identifier
- `work_pension` (boolean, optional, nullable) — Indicates if work pension is included
- `signing_bonus` (float, optional, nullable) — Signing bonus amount
- `time_off_type` (enum, optional) — Type of time off
  - Allowed values: `STANDARD`, `SPECIFIC`, `PRORATED`
- `seniority_date` (string, optional) — Employee seniority date
- `sick_leave_days` (double, optional, nullable) — Number of sick leave days per year
- `employee_address` (EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataEmployeeAddress, optional) — Employee's address information
- `employment_state` (string, optional, nullable) — State/Province of employment
- `hiring_objective` (enum, optional) — Objective for hiring
  - Allowed values: `EXPANDING_TO_NEW_COUNTRY`, `TEMP_EOR_OPENING_ENTITY`, `ONE_OFF_HIRE`, `CONVERTING_CONTRACTOR`, `OTHER`
- `probation_period` (double, optional, nullable) — Probation period duration
- `work_arrangement` (enum, optional, nullable) — Work arrangement type
  - Allowed values: `REMOTE`, `ON_SITE_OR_HYBRID`
- `work_eligibility` (EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataWorkEligibility, optional) — Work eligibility documentation
- `medical_insurance` (boolean, optional) — Medical insurance coverage
- `contract_term_type` (enum, optional) — Type of contract term
  - Allowed values: `DEFINITE`, `INDEFINITE`
- `notice_period_type` (enum, optional) — Type of notice period
  - Allowed values: `STANDARD`, `CUSTOM`
- `work_hours_per_week` (double, optional) — Working hours per week
- `employee_nationality` (string, optional) — Employee's nationality
- `reason_for_fixed_term` (enum, optional, nullable) — Reason for fixed-term contract
  - Allowed values: `SEASONAL_OR_TEMPORARY_WORK`, `PROJECT_BASED_EMPLOYMENT`, `REPLACEMENT_FOR_PERMANENT_STAFF`, `TRIAL_PERIODS_FOR_NEW_ROLES_OR_BUSINESSES`
- `quote_additional_fields` (EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataQuoteAdditionalFields, optional) — Additional quote-specific information
- `signing_bonus_payout_type` (enum, optional, nullable, default: FIRST_CYCLE) — Determines when the signing bonus will be paid out
  - Allowed values: `FIRST_CYCLE`, `AFTER_PROBATION`, `AFTER_FIRST_CONTRACT_ANNIVERSARY`
- `hiring_objective_extra_info` (string, optional, nullable) — Additional information about hiring objective
- `notice_period_after_probation` (double, optional) — Notice period after probation (days)
- `notice_period_during_probation` (double, optional) — Notice period during probation (days)
- `is_auto_quote_validation_passed` (boolean, optional, nullable) — Auto quote validation status
- `probation_period_type_for_definite` (enum, optional) — Unit of time for probation period
  - Allowed values: `CUSTOM`, `STANDARD`
- `allow_consultant_equipment_reimbursement` (boolean, optional) — Allow equipment reimbursement for consultants

### EorContractContractIdPatchResponsesContentApplicationJsonSchemaErrorsItems

- `code` (string, optional) — Error code identifier
- `field` (string, optional, nullable) — The field that caused the error, if applicable
- `message` (string, optional) — Error message details

### ApiErrorRequest

- `method` (string, optional) — The HTTP method of the failed request
- `url` (string, optional) — The relative URL of the failed request
- `status` (double, optional) — The status code of the response
- `api_req_id` (string, optional) — The request ID of the failed request
- `docs` (string, optional) — A link to the official documentation for the requested endpoint resource
- `source` (string, optional) — The source handler which produced the returned error
- `code` (double, optional) — The code of the source handler which produced the returned error

### ApiError

- `message` (string, optional) — A description of the returned error
- `path` (string, optional) — The JSON path where input validation failed

### EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataScope

Scope of work description, either as a plain string or as a reference to a scope template.

### EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataBenefitsItems

Benefit plan details

- `plan_id` (string, optional, nullable) — Benefit plan ID
- `cover_all` (boolean, optional) — Indicates if benefit covers all
- `provider_id` (string, optional, nullable) — Benefit provider ID
- `contribution` (double, optional, nullable) — Contribution amount
- `cover_dependents` (boolean, optional) — Indicates if benefit covers dependents

### EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataEmployeeAddress

Employee's address information

- `city` (string, required) — City of residence
- `street` (string, required) — Street address
- `country` (string, required) — Country of residence (can be country code or name)
- `zip` (string, optional) — ZIP/Postal code
- `phone` (string, optional) — Phone number
- `state` (string, optional) — State of residence
- `province` (string, optional) — Province of residence
- `calling_code` (string, optional) — Country calling code

### EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataWorkEligibility

Work eligibility documentation

- `key` (string, required) — Unique identifier for the work eligibility document
- `file_name` (string, required) — Name of the work eligibility document file

### EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataQuoteAdditionalFields

Additional quote-specific information

- `employee_type` (enum, optional) — Type of employee
  - Allowed values: `Employee`, `Manager`
- `qualifications` (string, optional) — Required qualifications
- `scope_german_translation` (string, optional) — German translation of scope
- `qualifications_german_translation` (string, optional) — German translation of qualifications

### EorContractContractIdPatchRequestBodyContentApplicationJsonSchemaDataScope1

Reference to a scope template or validation.

- `scope_template_id` (string, optional) — Scope template UUID.
- `scope_validation_id` (string, optional) — Scope validation UUID.

## Examples

**Request**

```json
{
  "data": {
    "job_title": "Software Engineer",
    "start_date": "2024-01-01",
    "employee_email": "john.doe@example.com",
    "employment_type": "Full-time",
    "employee_last_name": "Doe",
    "employment_country": "United States",
    "employee_first_name": "John"
  }
}
```

**Response**

```json
{
  "oid": "cnt_12345",
  "status": "under_review",
  "id": "cnt_12345"
}
```

**SDK Code**

```python schedule_updated
import requests

url = "https://api.letsdeel.com/rest/eor/contract/cnt_12345678"

payload = { "data": {
        "job_title": "Software Engineer",
        "start_date": "2024-01-01",
        "employee_email": "john.doe@example.com",
        "employment_type": "Full-time",
        "employee_last_name": "Doe",
        "employment_country": "United States",
        "employee_first_name": "John"
    } }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
```

```javascript schedule_updated
const url = 'https://api.letsdeel.com/rest/eor/contract/cnt_12345678';
const options = {
  method: 'PATCH',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"data":{"job_title":"Software Engineer","start_date":"2024-01-01","employee_email":"john.doe@example.com","employment_type":"Full-time","employee_last_name":"Doe","employment_country":"United States","employee_first_name":"John"}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go schedule_updated
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.letsdeel.com/rest/eor/contract/cnt_12345678"

	payload := strings.NewReader("{\n  \"data\": {\n    \"job_title\": \"Software Engineer\",\n    \"start_date\": \"2024-01-01\",\n    \"employee_email\": \"john.doe@example.com\",\n    \"employment_type\": \"Full-time\",\n    \"employee_last_name\": \"Doe\",\n    \"employment_country\": \"United States\",\n    \"employee_first_name\": \"John\"\n  }\n}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby schedule_updated
require 'uri'
require 'net/http'

url = URI("https://api.letsdeel.com/rest/eor/contract/cnt_12345678")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"data\": {\n    \"job_title\": \"Software Engineer\",\n    \"start_date\": \"2024-01-01\",\n    \"employee_email\": \"john.doe@example.com\",\n    \"employment_type\": \"Full-time\",\n    \"employee_last_name\": \"Doe\",\n    \"employment_country\": \"United States\",\n    \"employee_first_name\": \"John\"\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java schedule_updated
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.patch("https://api.letsdeel.com/rest/eor/contract/cnt_12345678")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"data\": {\n    \"job_title\": \"Software Engineer\",\n    \"start_date\": \"2024-01-01\",\n    \"employee_email\": \"john.doe@example.com\",\n    \"employment_type\": \"Full-time\",\n    \"employee_last_name\": \"Doe\",\n    \"employment_country\": \"United States\",\n    \"employee_first_name\": \"John\"\n  }\n}")
  .asString();
```

```php schedule_updated
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PATCH', 'https://api.letsdeel.com/rest/eor/contract/cnt_12345678', [
  'body' => '{
  "data": {
    "job_title": "Software Engineer",
    "start_date": "2024-01-01",
    "employee_email": "john.doe@example.com",
    "employment_type": "Full-time",
    "employee_last_name": "Doe",
    "employment_country": "United States",
    "employee_first_name": "John"
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp schedule_updated
using RestSharp;

var client = new RestClient("https://api.letsdeel.com/rest/eor/contract/cnt_12345678");
var request = new RestRequest(Method.PATCH);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"data\": {\n    \"job_title\": \"Software Engineer\",\n    \"start_date\": \"2024-01-01\",\n    \"employee_email\": \"john.doe@example.com\",\n    \"employment_type\": \"Full-time\",\n    \"employee_last_name\": \"Doe\",\n    \"employment_country\": \"United States\",\n    \"employee_first_name\": \"John\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift schedule_updated
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["data": [
    "job_title": "Software Engineer",
    "start_date": "2024-01-01",
    "employee_email": "john.doe@example.com",
    "employment_type": "Full-time",
    "employee_last_name": "Doe",
    "employment_country": "United States",
    "employee_first_name": "John"
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.letsdeel.com/rest/eor/contract/cnt_12345678")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```