List all Orders

GET/api/orders

Headers

FieldTypeDescription
authtoken String Authentication token, generated from admin area

Parameters

FieldTypeDescription
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"
  }
]
MethodGET
Path/api/orders
GroupOrders
Sincev1.0.0
Defined inRestApi/Controllers/OrdersController.php