This commit is contained in:
seb
2026-10-13 22:23:48 +02:00
parent b7b5d554d8
commit 11f6a8fc0f
4 changed files with 9 additions and 5 deletions

View File

@@ -590,7 +590,7 @@ _none_
#### List orders — `GET /order`
- Params: `query: offset?: int, limit?: int, search?: str, onlyUnpaid?: bool, onlyUndelivered?: bool, seekMonths?: int`
- Returns: `200 { orders: T2[], total: int, offset: int, limit: int }`
- Returns: `200 { orders: T2[], total: int, unfilteredTotal: int, offset: int, limit: int }`
#### Create order — `POST /order`
- Params: `body: { number: str, date: str, lines: T30[], entityId?: int|null }`
- Returns: `201 T1`

View File

@@ -491,7 +491,7 @@ _none_
#### List orders — `GET /order`
- Params: `query: offset?: int, limit?: int, search?: str, onlyUnpaid?: bool, onlyUndelivered?: bool, seekMonths?: int`
- Returns: `200 { orders: T2[], total: int, offset: int, limit: int }`
- Returns: `200 { orders: T2[], total: int, unfilteredTotal: int, offset: int, limit: int }`
#### Create order — `POST /order`
- Params: `body: { number: str, date: str, lines: T27[], entityId?: int|null }`
- Returns: `201 T1`

View File

@@ -6,7 +6,7 @@ List orders
Lists sales orders (`manifest` rows with `type = 'order'`)
for the authenticated user's selected company.
Results are paged, include line items, shipping, payment, and provide total unpaged count.
Results are paged, include line items, shipping, payment, and provide total unpaged count as well as unfiltered count.
## Query parameters
@@ -130,6 +130,7 @@ Order list
}
],
"total": 1,
"unfilteredTotal": 1,
"offset": 1,
"limit": 1
}