Holidays
Public API
Update Company Holiday
Changed onUpdates a company holiday with a JSON Merge Patch (RFC 7396) document. Only the fields present in the patch change; countryCodes, audience, and holidayPay replace their stored blocks wholesale when supplied. Send null for endDate to revert to a single-day holiday and null for holidayPay to clear the pay treatment. globalHolidayUuid is read-only and rejected if present.
OAuth Scopes: holidays.write
patch/api/v1/holidays/{id}
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesholidays.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
The company holiday ID.
Request body
Example request
{
"name": "Independence Day",
"startDate": "2026-07-04",
"endDate": "2026-07-05",
"countryCodes": [
"US",
"CA"
],
"holidayPay": {
"defaultHours": "8.00",
"hoursByEmploymentStatus": [
{
"employmentStatusListValueId": 17946,
"hours": "5.00"
}
],
"multiplier": "1.50"
}
}Response
The updated company holiday.
Example response
{
"id": 42,
"name": "Independence Day",
"startDate": "2026-07-04",
"endDate": "2026-07-05",
"countryCodes": [
"US",
"CA"
],
"holidayPay": {
"defaultHours": "8.00",
"hoursByEmploymentStatus": [
{
"employmentStatusListValueId": 17946,
"hours": "5.00"
}
],
"multiplier": "1.50"
},
"createdAt": "2026-04-30T18:00:00Z",
"updatedAt": "2026-04-30T18:00:00Z"
}Changes
- info
endpoint added
- info