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
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":1363316536327004,"uuid":"db57832c-d8bc-43a7-ae99-0a04480ff037","version":"98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872","job_id":1123581321345589,"job_uuid":"d8f8fbe7-496d-4b69-86f0-1e2d1b73a086","rate":"60000.00","payment_unit":"Year","flsa_status":"Exempt","effective_date":"2020-12-11","adjust_for_minimum_wage":false,"minimum_wages":[]}