Amend contract
documentedCreate an amendment for an existing contract.
POST /rest/v2/contracts/{contract_id}/amendmentsContractsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.letsdeel.com/rest/v2/contracts/{{$contract_id}}/amendments" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"data": {"time_off_type": "{{$time_off_type}}", "holidays": {{$holidays}}, "employment_type": "{{$employment_type}}", "effective_date": "{{$effective_date}}", "job_title": "{{$job_title}}", "job_category": "{{$job_category}}", "job_code": "{{$job_code}}", "salary": {"amount": "{{$salary}}", "currency": "{{$currency}}"} }}'