u
This commit is contained in:
@@ -44,7 +44,7 @@ export function register(app, basePath = '') {
|
||||
* description: |
|
||||
* 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.
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* parameters:
|
||||
@@ -93,7 +93,7 @@ export function register(app, basePath = '') {
|
||||
* application/json:
|
||||
* schema:
|
||||
* type: object
|
||||
* required: [orders, total, offset, limit]
|
||||
* required: [orders, total, unfilteredTotal, offset, limit]
|
||||
* properties:
|
||||
* orders:
|
||||
* type: array
|
||||
@@ -102,6 +102,9 @@ export function register(app, basePath = '') {
|
||||
* total:
|
||||
* type: integer
|
||||
* description: Total number of filtered orders
|
||||
* unfilteredTotal:
|
||||
* type: integer
|
||||
* description: Total number of orders without any filters applied
|
||||
* offset:
|
||||
* type: integer
|
||||
* description: Number of orders skipped
|
||||
|
||||
Reference in New Issue
Block a user