eorAmendments

Update amendment

Changed on

Applies a partial update to a specific EOR contract amendment. The amendment must be in DRAFT status; updates to amendments in any other state will be rejected. This operation overwrites existing draft data and cannot be undone.

Token scopes: contracts:write

patch/eor/contracts/{contract_id}/amendments/{amendment_id}

Request

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

Path parameters

contract_id, string alphanumeric required

The unique identifier of EOR worker contract.

amendment_id, string uuid required

A unique identifier for the employee contract amendment. This string is either supplied by the client or generated by the system and is used to uniquely identify the amendment during upsert operations.

Request body

object required
data, EorContractsContractIdAmendmentsAmendmentIdPatchRequestBodyContentApplicationJsonSchemaData

Response

Amendment info

EorAmendmentsUpdateContractAmendmentResponse200 required
data, EorContractsContractIdAmendmentsAmendmentIdPatchResponsesContentApplicationJsonSchemaData

Changes

    • breaking

      removed the enum value CUSTOM of the request property data/notice_period_type

    • breaking

      removed the enum value STANDARD of the request property data/notice_period_type

    • breaking

      the data/notice_period_type request property type changed from string to no type

    22 more changes in this revision