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