Update employee
documentedUpdate a payroll employee.
PUT /Employees/{EmployeeID}PayrollAuno 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.xero.com/payroll.xro/1.0/Employees/{{$employee_id}}" -X PUT -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" -H "Xero-Tenant-Id: {{XERO_TENANT_ID}}" -H "Content-Type: application/json" -H "Accept: application/json" -H "Idempotency-Key: {{$idempotency_key}}" -d '{"employee": [{"FirstName": "{{$first_name}}", "LastName": "{{$last_name}}", "DateOfBirth": "{{$date_of_birth}}", "HomeAddress": {"AddressLine1": "{{$address1}}", "City": "{{$city}}", "Region": "{{$region}}", "PostalCode": "{{$postal_code}}", "Country": "Australia"}, "JobTitle": "{{$job_title}}", "Title": "{{$title}}"}]}'