contracts

Sets an external identifier. Link your internal reference IDs, such as employee numbers or ERP keys, to a Deel worker. The external ID must be unique and, once set, can be used as a filter when listing contracts to directly look up Deel records from an external system.

Token scopes: contracts:write

patch/contracts/{contract_id}

Request

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

Path parameters

contract_id, string required

Deel contract id.

Request body

object required
data, ContractsContractIdPatchRequestBodyContentApplicationJsonSchemaData required

Response

Successful operation.

ContractsUpdateICContractResponse200 required
id, string required

Unique identifier for the contract.

type, 'ongoing_time_based' | 'milestones' | 'time_based' | 'pay_as_you_go_time_based' | 'commission' | 'payg_milestones' | 'payg_tasks' | 'contractor_outside_deel' | 'eor' | 'unknown' | 'employee' | 'global_payroll' | 'shield_msa' | 'hris_direct_employee' | 'peo' required

Type of a contract.

quote, ContractsContractIdPatchResponsesContentApplicationJsonSchemaQuote

EOR quote approved by Deel.

title, string required

Title of the contract.

client, ContractsContractIdPatchResponsesContentApplicationJsonSchemaClient nullable required

Client details associated with the contract.

status, 'new' | 'under_review' | 'waiting_for_employee_contract' | 'waiting_for_client_sign' | 'processing_payment' | 'waiting_for_contractor_sign' | 'waiting_for_eor_sign' | 'waiting_for_employee_sign' | 'awaiting_deposit_payment' | 'in_progress' | 'completed' | 'cancelled' | 'user_cancelled' | 'rejected' | 'waiting_for_client_payment' | 'onboarding' | 'waiting_for_approval' | 'onboarded' required

Status of a contract in Deel workflow.

worker, ContractsContractIdPatchResponsesContentApplicationJsonSchemaWorker nullable required

Worker details associated with the contract.

job_title, string

Job title associated with the contract.

seniority, ContractsContractIdPatchResponsesContentApplicationJsonSchemaSeniority nullable

Seniority describes level of expertise at a job e.g. junior.

created_at, string date-time required

Date and time when the contract was created.

signatures, ContractsContractIdPatchResponsesContentApplicationJsonSchemaSignatures required

Signature information for the contract parties.

start_date, string date-time required

Date and time when the contract starts.

updated_at, string date-time required

Date and time when the contract was updated.

external_id, string nullable

External identifier of the contract.

invitations, ContractsContractIdPatchResponsesContentApplicationJsonSchemaInvitations required

Invitation email addresses for signing the contract.

is_archived, boolean nullable required

Flag to indicate if the contract is archived.

who_reports, string

Who reports the hours.

cost_centers, ContractsContractIdPatchResponsesContentApplicationJsonSchemaCostCentersItems[]

List of cost centers associated with the contract.

custom_fields, ContractsContractIdPatchResponsesContentApplicationJsonSchemaCustomFieldsItems[] nullable

List of custom fields attached to the contract.

notice_period, number double nullable

Notice period in days.

scope_of_work, string nullable

Scope of work of the contract.

work_schedule, ContractsContractIdPatchResponsesContentApplicationJsonSchemaWorkSchedule nullable

Defines a work schedule including working days, hours, and employment details

special_clause, string nullable required

Special clause of the contract.

employment_type, 'FULL_TIME' | 'PART_TIME' nullable

Type of employment.

termination_date, string nullable required

Date and time when the contract ends.

contract_template, ContractsContractIdPatchResponsesContentApplicationJsonSchemaContractTemplate nullable

Contract template details.

work_statement_id, string nullable

The unique identifier of the associated work statement.

employment_details, ContractsContractIdPatchResponsesContentApplicationJsonSchemaEmploymentDetails

Employment-related details for the contract.

compensation_details, ContractsContractIdPatchResponsesContentApplicationJsonSchemaCompensationDetails

Compensation and payment configuration for the contract.

Changes

    • breaking

      the work_schedule/oneOf[subschema #1: ContractsContractIdPatchResponsesContentApplicationJsonSchemaWorkSchedule]/days/items/end response's property format changed from time to no format for status

    • breaking

      the work_schedule/oneOf[subschema #1: ContractsContractIdPatchResponsesContentApplicationJsonSchemaWorkSchedule]/days/items/start response's property format changed from time to no format for status