This repository was archived by the owner on Apr 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +32
-2
lines changed
Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -429,7 +429,7 @@ We list all backwards-compatible additions here. These are currently available i
429429#### June 2024
430430- We added `tax` to the `products.info` endpoint.
431431- We added the `daysOff.import` and `daysOff.bulkDelete` endpoints.
432- - We added the `dayOffTypes.create` and `dayOffTypes.delete` endpoints.
432+ - We added the `dayOffTypes.create` , `dayOffTypes.update` and `dayOffTypes.delete` endpoints.
433433- We added the `closingDays.add` and `closingDays.delete` endpoints.
434434
435435#### May 2024
@@ -1866,6 +1866,21 @@ Create a new day off type.
18661866 + type: `dayOffType` (string )
18671867 + id: `cf307a90-d778-003c-b820-ab8415d1a524` (string )
18681868
1869+ ### dayOffTypes.update [POST /dayOffTypes.update]
1870+
1871+ Update a day off type.
1872+
1873+ + Request (application/json)
1874+ + Attributes (object)
1875+ + `id`: `1b7cece0-288c-0bbe-b916-5a315fbe9fe2` (string , required )
1876+ + name: `day off type` (string , optional )
1877+ + color: `#00B2B2` (string , optional )
1878+ + date_validity (object , nullable , optional )
1879+ + from: `2024-04-04` (string , required )
1880+ + unit: `2025-05-05` (string , required )
1881+
1882+ + Response 204 (application/json)
1883+
18691884### dayOffTypes.delete [POST /dayOffTypes.delete]
18701885
18711886Delete a day off type.
Original file line number Diff line number Diff line change @@ -32,6 +32,21 @@ Create a new day off type.
3232 + type: `dayOffType` (string )
3333 + id: `cf307a90-d778-003c-b820-ab8415d1a524` (string )
3434
35+ ### dayOffTypes.update [POST /dayOffTypes.update]
36+
37+ Update a day off type.
38+
39+ + Request (application/json)
40+ + Attributes (object)
41+ + `id`: `1b7cece0-288c-0bbe-b916-5a315fbe9fe2` (string , required )
42+ + name: `day off type` (string , optional )
43+ + color: `#00B2B2` (string , optional )
44+ + date_validity (object , nullable , optional )
45+ + from: `2024-04-04` (string , required )
46+ + unit: `2025-05-05` (string , required )
47+
48+ + Response 204 (application/json)
49+
3550### dayOffTypes.delete [POST /dayOffTypes.delete]
3651
3752Delete a day off type.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ We list all backwards-compatible additions here. These are currently available i
77#### June 2024
88- We added `tax` to the `products.info` endpoint.
99- We added the `daysOff.import` and `daysOff.bulkDelete` endpoints.
10- - We added the `dayOffTypes.create` and `dayOffTypes.delete` endpoints.
10+ - We added the `dayOffTypes.create` , `dayOffTypes.update` and `dayOffTypes.delete` endpoints.
1111- We added the `closingDays.add` and `closingDays.delete` endpoints.
1212
1313#### May 2024
You can’t perform that action at this time.
0 commit comments