Update a contractor
PUT {{baseUrl}}/v1/contractors/:contractor_id
Update a contractor.
scope: contractors:write
π§ Warning
Watch out when changing a contractor's type (when the contractor is finished onboarding). Specifically, changing contractor type can be dangerous since Gusto wonβt recognize and file two separate 1099s if they simply change from business to individual
Request Body
{"version"=>"<string>", "type"=>"Individual", "wage_type"=>"<string>", "start_date"=>"<string>", "hourly_rate"=>"<string>", "self_onboarding"=>false, "email"=>"<string>", "first_name"=>"<string>", "last_name"=>"<string>", "middle_initial"=>"<string>", "file_new_hire_report"=>false, "work_state"=>"<string>", "ssn"=>"<string>", "business_name"=>"<string>", "ein"=>"<string>", "is_active"=>"<boolean>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"uuid":"c9fc1ad3-c107-4e7b-aa21-2dd4b00a7a07","id":7757515807594512,"company_uuid":"b7457fec-3b76-43bb-9c6e-69cca4688942","company_id":7757616923763477,"wage_type":"Hourly","start_date":"2022-01-01","is_active":false,"version":"63859768485e218ccf8a449bb60f14ed","type":"Individual","first_name":"Kory","last_name":"Gottlieb","middle_initial":"P","business_name":null,"ein":null,"has_ein":false,"has_ssn":true,"department":"Stage hand","department_uuid":"56260b3d-c375-415c-b77a-75d99f717193","email":"keira.west@mckenzie.org","file_new_hire_report":true,"work_state":"FL","onboarded":true,"onboarding_status":"onboarding_completed","address":{"street_1":"621 Jast Row","street_2":"Apt. 281","city":"Coral Springs","state":"FL","zip":"33065","country":"USA"},"hourly_rate":"60.00"}