List Orders
Query parameters
-
Global search
-
Current page
-
Number of items per page
-
Determines if all items are selected
-
App\Shop\Orders\Http\OpenApi\Schemas\Orders Filters: 0, 1, 2, 3, 4
Hide where attributes Show where attributes object
-
App\Shop\Orders\Http\OpenApi\Schemas\Orders Sorting by orderDisp, createdAt
Responses
-
Paginated response
Hide response attributes Show response attributes object
-
Hide data attributes Show data attributes object
-
Current status of the order
Values are
order-placed,awaiting-supplier,awaiting-collection,dispatched,delivered,cancelled,refunded, orcompleted. -
Values are
no,part-paid, oryes. -
Gross price minus total credits applied
-
Amount remaining to be paid (totalWithCredit - totalTendered)
-
Number of items in the order
-
Values are
upcoming,due,overdue,failed,paid, orcancelled.
-
Pagination schema
-
-
Not authorized
GET
/v1/orders
curl \
--request GET 'https://localhost/v1/orders'
Response examples (200)
{
"data": [
{
"id": "_ord_01jsxy8epr403x5sk4dm5ba5cf",
"familyId": "fml_01jrw5h5ezr2vvwv34zfw2pm9y",
"orderId": "ord_01jsxy8epr403x5sk4dm5ba5cf",
"createdAt": "2025-04-28T10:14:37Z",
"orderDisp": "14809",
"status": "order-placed",
"familyName": "Considine",
"grossPrice": 3327,
"netPrice": 3327,
"discountAmount": 0,
"taxAmount": 0,
"totalTendered": 3327,
"totalDue": 0,
"paid": "no",
"totalWithCredit": 3327,
"totalRemaining": 0,
"itemCount": 2,
"nextPaymentDue": {
"amount": 1000,
"paymentDate": "2025-04-28",
"status": [
"upcoming"
],
"paymentNumber": "3/10"
},
"nextPaymentDueDate": "2025-04-28",
"nextPaymentDueStatus": [
"upcoming"
]
}
],
"pagination": {
"total": 15,
"count": 10,
"perPage": 10,
"currentPage": 1,
"totalPages": 2
}
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}