01
Introduction
Plants API

The Plants API allows you to manage plants in the Kao-Order settings module.

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