Update a compensation

PUT {{baseUrl}}/v1/compensations/:compensation_id

Compensations contain information on how much is paid out for a job. Jobs may have many compensations, but only one that is active. The current compensation is the one with the most recent effective_date.

scope: jobs:write

Request Body

{"version"=>"<string>", "rate"=>"<string>", "payment_unit"=>"<string>", "flsa_status"=>"<string>", "adjust_for_minimum_wage"=>"<boolean>", "minimum_wages"=>[{"uuid"=>"<string>"}, {"uuid"=>"<string>"}]}

HEADERS

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;id&quot;:1363316536327004,&quot;uuid&quot;:&quot;db57832c-d8bc-43a7-ae99-0a04480ff037&quot;,&quot;version&quot;:&quot;98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872&quot;,&quot;job_id&quot;:1123581321345589,&quot;job_uuid&quot;:&quot;d8f8fbe7-496d-4b69-86f0-1e2d1b73a086&quot;,&quot;rate&quot;:&quot;60000.00&quot;,&quot;payment_unit&quot;:&quot;Year&quot;,&quot;flsa_status&quot;:&quot;Exempt&quot;,&quot;effective_date&quot;:&quot;2020-12-11&quot;,&quot;adjust_for_minimum_wage&quot;:false,&quot;minimum_wages&quot;:[]}