File tree 3 files changed +32
-2
lines changed
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
429
429
#### June 2024
430
430
- We added `tax` to the `products.info` endpoint.
431
431
- 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.
433
433
- We added the `closingDays.add` and `closingDays.delete` endpoints.
434
434
435
435
#### May 2024
@@ -1866,6 +1866,21 @@ Create a new day off type.
1866
1866
+ type: `dayOffType` (string )
1867
1867
+ id: `cf307a90-d778-003c-b820-ab8415d1a524` (string )
1868
1868
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
+
1869
1884
### dayOffTypes.delete [POST /dayOffTypes.delete]
1870
1885
1871
1886
Delete a day off type.
Original file line number Diff line number Diff line change @@ -32,6 +32,21 @@ Create a new day off type.
32
32
+ type: `dayOffType` (string )
33
33
+ id: `cf307a90-d778-003c-b820-ab8415d1a524` (string )
34
34
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
+
35
50
### dayOffTypes.delete [POST /dayOffTypes.delete]
36
51
37
52
Delete 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
7
7
#### June 2024
8
8
- We added `tax` to the `products.info` endpoint.
9
9
- 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.
11
11
- We added the `closingDays.add` and `closingDays.delete` endpoints.
12
12
13
13
#### May 2024
You can’t perform that action at this time.
0 commit comments