---
title: "Update custom field value"
method: PUT
path: "/contracts/{contract_id}/custom_fields"
tags: ["customFieldsContracts"]
---

# Update custom field value

`PUT /contracts/{contract_id}/custom_fields`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/contracts/{contract_id}/custom_fields`
- Auth: HTTP bearer

Creates or updates custom field values on the specified contract. This is a full replacement operation — any custom field values not included in the request body will be removed.

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

## Path parameters

- `contract_id` string, required

## Request body

- object
  - `data` ContractsContractIdCustomFieldsPutRequestBodyContentApplicationJsonSchemaData, required
    - `id` string, uuid, required: UUID for the custom field value
    - `data` union, required
      - ContractsContractIdCustomFieldsPutRequestBodyContentApplicationJsonSchemaDataData0: Text type
        - `value` string
      - ContractsContractIdCustomFieldsPutRequestBodyContentApplicationJsonSchemaDataData1: Number type
        - `value` number, double
      - ContractsContractIdCustomFieldsPutRequestBodyContentApplicationJsonSchemaDataData2: Date type: YYYY-MM-DD
        - `value` string, date
      - ContractsContractIdCustomFieldsPutRequestBodyContentApplicationJsonSchemaDataData3: Percentage type
        - `value` number, double
      - ContractsContractIdCustomFieldsPutRequestBodyContentApplicationJsonSchemaDataData4: Currency type
        - `amount` number, double
        - `currency` string: Important: When currency type is fixed, the currency field is ignored.
      - ContractsContractIdCustomFieldsPutRequestBodyContentApplicationJsonSchemaDataData5: List type
        - `option` string
      - ContractsContractIdCustomFieldsPutRequestBodyContentApplicationJsonSchemaDataData6: Multiselect type
        - `options` string[]

## Response `200`

Successful response

- CustomFieldsContractsPutContractCustomFieldResponse200: Empty response body

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Not found
- `500`: Operation failed.

---

[API](https://skmtc.dev/deel/apis/hris-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/hris-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/hris-endpoints/revisions/b7b456c45a40?raw)
