diff --git a/docs/api/routes/entity/list.md b/docs/api/routes/entity/list.md index 41331e8..75222a5 100644 --- a/docs/api/routes/entity/list.md +++ b/docs/api/routes/entity/list.md @@ -5,8 +5,8 @@ Protected. Requires a valid session cookie (`credentials: 'include'`). List entities Lists entities for the selected company. Optional `customergroupId` -filters to one group. Optional `role=customer` excludes Lieferanten/POS -groups (for quote/order pickers). `role` wins when both are set. +filters to one group. Optional `role=customer` excludes Lieferanten +group (for quote/order pickers). `role` wins when both are set. ## Query parameters diff --git a/docs/api/routes/order/create.md b/docs/api/routes/order/create.md index c487145..ee6d7c7 100644 --- a/docs/api/routes/order/create.md +++ b/docs/api/routes/order/create.md @@ -6,7 +6,7 @@ Create order Creates a sales order with header and lines in one transaction. `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`. diff --git a/docs/api/routes/quote/create.md b/docs/api/routes/quote/create.md index b3ed692..62f53ce 100644 --- a/docs/api/routes/quote/create.md +++ b/docs/api/routes/quote/create.md @@ -6,7 +6,7 @@ Create quote Creates a quote with header and lines in one transaction. `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`. diff --git a/src/api/routes/entity.js b/src/api/routes/entity.js index e476ab9..43889b2 100644 --- a/src/api/routes/entity.js +++ b/src/api/routes/entity.js @@ -35,8 +35,8 @@ export function register(app, basePath = '') { * summary: List entities * description: | * Lists entities for the selected company. Optional `customergroupId` - * filters to one group. Optional `role=customer` excludes Lieferanten/POS - * groups (for quote/order pickers). `role` wins when both are set. + * filters to one group. Optional `role=customer` excludes Lieferanten + * group (for quote/order pickers). `role` wins when both are set. * security: * - cookieAuth: [] * x-markdown: entity/list.md diff --git a/src/api/routes/order.js b/src/api/routes/order.js index 2facfef..c0fdc48 100644 --- a/src/api/routes/order.js +++ b/src/api/routes/order.js @@ -80,7 +80,7 @@ export function register(app, basePath = '') { * description: | * Creates a sales order with header and lines in one transaction. * `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`. * security: * - cookieAuth: [] diff --git a/src/api/routes/quote.js b/src/api/routes/quote.js index 996e3db..8f9298b 100644 --- a/src/api/routes/quote.js +++ b/src/api/routes/quote.js @@ -80,7 +80,7 @@ export function register(app, basePath = '') { * description: | * Creates a quote with header and lines in one transaction. * `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`. * security: * - cookieAuth: []