GuidesAPI ReferenceChangelogAPI PolicyAPI StatusGusto Security
API Reference
v2023-09-01 is in the deprecation process and all prior versions have been deprecated. Click this banner to review our version upgrade guide.

Update a company's holiday pay policy

Update a company's holiday pay policy

scope: holiday_pay_policies:write

Path Params
string
required

The UUID of the company

Body Params
string
required

The current version of the object. See the versioning guide for information on how to use this field.

federal_holidays
object

An object containing federal holiday objects, each containing a boolean selected property.

Headers
string
Defaults to 2024-04-01

Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.

Responses

Response body
object
string
required

The current version of the object. See the versioning guide for information on how to use this field.

string
required

A unique identifier for the company owning the holiday pay policy

federal_holidays
array of objects
required

List of the eleven supported federal holidays and their details

federal_holidays*
object
new_years_day
object
mlk_day
object
presidents_day
object
memorial_day
object
juneteenth
object
independence_day
object
labor_day
object
columbus_day
object
veterans_day
object
thanksgiving
object
employees
array of objects
required

List of employee uuids under a time off policy

employees*
object
string
404

Not Found

The requested resource does not exist. Make sure the provided UUID is valid.

invalid_attribute_value, or the request fails due to an invalid_operation. See the Errors Categories guide for more details.

Language
Credentials