---
title: "Update compensation"
method: PATCH
path: "/gp/workers/{worker_id}/compensation"
tags: ["workerInformation"]
---

# Update compensation

`PATCH /gp/workers/{worker_id}/compensation`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/gp/workers/{worker_id}/compensation`
- Auth: HTTP bearer

Updates the compensation for the GP employee and returns the complete compensation history including the applied change.

 **Token scopes**: `people:write`

## Path parameters

- `worker_id` string, uuid, required

## Request body

- object
  - `data` GpWorkersWorkerIdCompensationPatchRequestBodyContentApplicationJsonSchemaData, required
    - `scale` 'YEAR' | 'MONTH' | 'HOUR', required: The scale to which a given salary applies.
    - `salary` number, double, required: Compensation salary.
    - `effective_date` string, date, required: Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

## Response `200`

Successful operation.

- WorkerInformationUpdateGPWorkerCompensationResponse200
  - `data` GpWorkersWorkerIdCompensationPatchResponsesContentApplicationJsonSchemaDataItems[], required
    - `scale` 'YEAR' | 'MONTH' | 'HOUR': The scale to which a given salary applies.
    - `salary` string: Compensation salary.
    - `status` 'ACTIVE' | 'UPCOMING' | 'OUTDATED': The status of a salary amendment.
    - `effective_date` string, date: Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

## Other responses

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

## Changes

- **2026-11-27** `00e82dcb0951`: 2 warning, 2 info
  - removed the optional property `errors/items/path` from the response with the `400` status
  - removed the optional property `request` from the response with the `400` status
  - added the optional property `errors/items/code` to the response with the `400` status
  - added the optional property `errors/items/field` to the response with the `400` status

[Operation history](https://skmtc.dev/deel/apis/endpoints-3/changes/gp/workers/:worker_id/compensation/patch.md)

---

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