List all Orders
GET/api/orders
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| client_id | Number | optional Optional filter by client ID |
| status_id | Number | optional Optional filter by status ID |
curl -X GET "https://yoursite.com/api/orders" \
-H "authtoken: YOUR_API_TOKEN" Success-Response:
[
{
"id": "1",
"client_id": "2",
"order_date": "2024-01-15",
"status_id": "1",
"note": "",
"project_id": "0",
"discount_amount": "0"
}
]