v1
latestOpenAPI 3.1.02026-07-243113441.2 MBUpdate a contractor
Update a contractor.
🚧 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
scope: contractors:write
Path parameters
The UUID of the contractor
Headers
Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Request body
The current version of the object. See the versioning guide for information on how to use this field.
The contractor type.
The contractor’s wage type.
The day when the contractor will start working for the company.
The contractor’s hourly rate. This attribute is required if the wage_type is Hourly.
Whether the contractor or the payroll admin will complete onboarding in Gusto. Self-onboarding is recommended so that contractors receive Gusto accounts. If self_onboarding is true, then email is required.
The contractor’s email address.
The contractor’s first name. This attribute is required for Individual contractors and will be ignored for Business contractors.
The contractor’s last name. This attribute is required for Individual contractors and will be ignored for Business contractors.
The contractor’s middle initial. This attribute is optional for Individual contractors and will be ignored for Business contractors.
The boolean flag indicating whether Gusto will file a new hire report for the contractor. This attribute is optional for Individual contractors and will be ignored for Business contractors.
State where the contractor will be conducting the majority of their work for the company. This value is used when generating the new hire report. This attribute is required for Individual contractors if file_new_hire_report is true and will be ignored for Business contractors.
This attribute is optional for Individual contractors and will be ignored for Business contractors. Social security number is needed to file the annual 1099 tax form.
The name of the contractor business. This attribute is required for Business contractors and will be ignored for Individual contractors.
The employer identification number of the contractor business. This attribute is optional for Business contractors and will be ignored for Individual contractors.
The status of the contractor. If the contractor's start date is in the future, updating this field to true means we are setting the start date to today. Attempting to deactivate a contractor while a dismissal is already scheduled, or reactivate while a rehire is already scheduled, will return a 422 error. Cancel the pending transition first using the appropriate cancel endpoint.
Example request
{
"version": "56d00c178bc7393b2a206ed6a86afcb4",
"start_date": "2020-01-11",
"hourly_rate": "40.0"
}Response
Successful
The UUID of the contractor in Gusto.
The UUID of the company the contractor is employed by.
The contractor's wage type, either "Fixed" or "Hourly".
The status of the contractor with the company.
The current version of the object. See the versioning guide for information on how to use this field.
The contractor's type, either "Individual" or "Business".
The contractor’s first name. This attribute is required for “Individual” contractors and will be ignored for “Business” contractors.
The contractor’s last name. This attribute is required for “Individual” contractors and will be ignored for “Business” contractors.
The contractor’s middle initial. This attribute is optional for “Individual” contractors and will be ignored for “Business” contractors.
The name of the contractor business. This attribute is required for “Business” contractors and will be ignored for “Individual” contractors.
The Federal Employer Identification Number of the contractor business. This attribute is optional for “Business” contractors and will be ignored for “Individual” contractors.
Whether company's Employer Identification Number (EIN) is present
The contractor’s email address. This attribute is optional for “Individual” contractors and will be ignored for “Business” contractors.
The contractor's start date.
The contractor’s hourly rate. This attribute is required if the wage_type is “Hourly”.
The boolean flag indicating whether Gusto will file a new hire report for the contractor
State where the contractor will be conducting the majority of their work for the company. This value is used when generating the new hire report.
The updated onboarding status for the contractor
One of the "onboarding_status" enum values.
The contractor's payment method.
Indicates whether the contractor has an SSN in Gusto.
The UUID of the department the contractor is under
The contractor's department in the company.
The title of the contractor's department.
The contractor's dismissal date.
Whether the contractor's pending dismissal can be cancelled.
Whether the contractor's pending rehire can be cancelled.
Whether an external partner portal invitation webhook has been sent for this contractor. Only included when the include param has the portal_invitations value set.
Example response
{
"hourly_rate": "50.0"
}