u
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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`.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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`.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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: []
|
||||||
|
|||||||
@@ -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: []
|
||||||
|
|||||||
Reference in New Issue
Block a user