Adjustments

Update an expense or other adjustment

Changed on

Updates an existing expense or other payroll adjustment identified by its id. Use it when one that has already been created needs correcting, such as a wrong amount, date, category or receipt, so the record keeps its id instead of being deleted with DELETE /rest/adjustments/{id} and recreated. Applies a partial update: only fields included in the request body are modified, and omitted fields keep their current values. A worker token can only update the expenses of that worker.

Token scopes: adjustments:write, worker:write

patch/adjustments/{id}

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

id, string required

Deel adjustment id.

Request body

object required
data, AdjustmentsIdPatchRequestBodyContentApplicationJsonSchemaData required

Details of adjustment to update

Response

Successful operation.

AdjustmentsUpdateContractAdjustmentResponse200 required
data, AdjustmentsIdPatchResponsesContentApplicationJsonSchemaData required

Changes

    • breaking

      removed the media type multipart/form-data from the request body

    • info

      added the media type application/json to the request body