01
Introduction
Holidays API

The Holidays API allows you to manage holidays in the Kao-Order settings module.

🔐 Requires a valid Bearer token in the Authorization header.
02
List Holidays
Get a list of all holidays
GET /api/kao-order/settings/holidays/index List holidays
cURL
curl --request GET \
  --url 'https://yourapp.com/api/kao-order/settings/holidays/index' \
  --header 'Authorization: Bearer YOUR_TOKEN_HERE' \
  --header 'Accept: application/json'
03
Create Holiday
Create a new Holiday
POST /api/kao-order/settings/holidays/store Create Holiday
Body Parameters (Raw JSON)
Field Type Status Description
title string required The title of the Holiday
holiday_date date required The holiday_date of the Holiday
description string required The description of the Holiday
04
Get Holiday
Retrieve a specific Holiday details
GET /api/kao-order/settings/holidays/show{id} Get Holiday
URL Parameters
Field Type Status Description
id integer required Holiday ID
05
Update Holiday
Update Holiday details
PUT /api/kao-order/settings/holidays/update/{id} Update Holiday
Body Parameters (Raw JSON)
Field Type Status Description
title string optional The title of the Holiday
holiday_date date optional The holiday_date of the Holiday
description string optional The description of the Holiday
06
Delete Holiday
Permanently delete a Holiday
DELETE /api/kao-order/settings/holidays/delete/{id} Delete Holiday
URL Parameters
Field Type Status Description
id integer required Holiday ID