GuidesAPI ReferenceChangelog
Changelog
added

v2.4.0

New Update Employee Information for EOR Contract endpoint

Implemented new endpoint for updating employee information related to an EOR Contract. This endpoint supports partial updates. Attempting to update any undocumented fields will result in a validation error. This endpoint will only work for contracts with status new, under_review, waiting_for_client_sign, waiting_for_eor_sign, waiting_for_employee_contract, waiting_for_employee_sign, awaiting_deposit_payment, or rejected.


Endpoint: PATCH /v2/eor/contracts/:contract_id/employee-information

Token scopes: contracts:write

API Reference: Update Employee Information for EOR Contract

Request Example:

curl --request PATCH --url https://api.letsdeel.com/rest/v2/eor/contracts/{contract_id}/employee-information --header 'accept: application/json' --header 'authorization: Bearer {API_TOKEN}' --header 'content-type: application/json' --data ' { "employee_information": { "first_name": "Jane", "last_name": "Doe", "email": "[email protected]" } } '