This commit is contained in:
seb
2026-09-30 21:56:35 +02:00
parent a6d3328e11
commit 71c92e0718
6 changed files with 8 additions and 8 deletions

View File

@@ -5,8 +5,8 @@ Protected. Requires a valid session cookie (`credentials: 'include'`).
List entities List entities
Lists entities for the selected company. Optional `customergroupId` Lists entities for the selected company. Optional `customergroupId`
filters to one group. Optional `role=customer` excludes Lieferanten/POS filters to one group. Optional `role=customer` excludes Lieferanten
groups (for quote/order pickers). `role` wins when both are set. group (for quote/order pickers). `role` wins when both are set.
## Query parameters ## Query parameters

View File

@@ -6,7 +6,7 @@ Create order
Creates a sales order with header and lines in one transaction. Creates a sales order with header and lines in one transaction.
`date` is the document date (expected delivery). `date` is the document date (expected delivery).
`entityId` must be a company customer (not Lieferanten/POS), or null. `entityId` must be a company customer (not Lieferanten), or null.
Each line requires `sku` or `name`, `amount`, `net`, and `taxrate` (rate); `pu` defaults to `1`; `rebate` defaults to `0`. Each line requires `sku` or `name`, `amount`, `net`, and `taxrate` (rate); `pu` defaults to `1`; `rebate` defaults to `0`.

View File

@@ -6,7 +6,7 @@ Create quote
Creates a quote with header and lines in one transaction. Creates a quote with header and lines in one transaction.
`date` is the document date (valid-until). `date` is the document date (valid-until).
`entityId` must be a company customer (not Lieferanten/POS), or null. `entityId` must be a company customer (not Lieferanten), or null.
Each line requires `sku` or `name`, `amount`, `net`, and `taxrate` (rate); `pu` defaults to `1`; `rebate` defaults to `0`. Each line requires `sku` or `name`, `amount`, `net`, and `taxrate` (rate); `pu` defaults to `1`; `rebate` defaults to `0`.

View File

@@ -35,8 +35,8 @@ export function register(app, basePath = '') {
* summary: List entities * summary: List entities
* description: | * description: |
* Lists entities for the selected company. Optional `customergroupId` * Lists entities for the selected company. Optional `customergroupId`
* filters to one group. Optional `role=customer` excludes Lieferanten/POS * filters to one group. Optional `role=customer` excludes Lieferanten
* groups (for quote/order pickers). `role` wins when both are set. * group (for quote/order pickers). `role` wins when both are set.
* security: * security:
* - cookieAuth: [] * - cookieAuth: []
* x-markdown: entity/list.md * x-markdown: entity/list.md

View File

@@ -80,7 +80,7 @@ export function register(app, basePath = '') {
* description: | * description: |
* Creates a sales order with header and lines in one transaction. * Creates a sales order with header and lines in one transaction.
* `date` is the document date (expected delivery). * `date` is the document date (expected delivery).
* `entityId` must be a company customer (not Lieferanten/POS), or null. * `entityId` must be a company customer (not Lieferanten), or null.
* Each line requires `sku` or `name`, `amount`, `net`, and `taxrate` (rate); `pu` defaults to `1`; `rebate` defaults to `0`. * Each line requires `sku` or `name`, `amount`, `net`, and `taxrate` (rate); `pu` defaults to `1`; `rebate` defaults to `0`.
* security: * security:
* - cookieAuth: [] * - cookieAuth: []

View File

@@ -80,7 +80,7 @@ export function register(app, basePath = '') {
* description: | * description: |
* Creates a quote with header and lines in one transaction. * Creates a quote with header and lines in one transaction.
* `date` is the document date (valid-until). * `date` is the document date (valid-until).
* `entityId` must be a company customer (not Lieferanten/POS), or null. * `entityId` must be a company customer (not Lieferanten), or null.
* Each line requires `sku` or `name`, `amount`, `net`, and `taxrate` (rate); `pu` defaults to `1`; `rebate` defaults to `0`. * Each line requires `sku` or `name`, `amount`, `net`, and `taxrate` (rate); `pu` defaults to `1`; `rebate` defaults to `0`.
* security: * security:
* - cookieAuth: [] * - cookieAuth: []