u
This commit is contained in:
@@ -10,7 +10,7 @@ Params: path values first, then `query:` and `body:` (`body?` = optional body).
|
|||||||
### Reusable types
|
### Reusable types
|
||||||
|
|
||||||
- `T1` = `{ article: T2 }`
|
- `T1` = `{ article: T2 }`
|
||||||
- `T2` = `{ id: int, sku: str, name: str, slug: str, track_stock: bool, unitamount: num|null, weight: num|null, unit: T32, brand: T28|null, categoryIds: int[], photos: T26[], eans: str[], prices: T36[], suppliers: T12[] }`
|
- `T2` = `{ id: int, sku: str, name: str, slug: str, desc: str|null, seo: str|null, track_stock: bool, unitamount: num|null, weight: num|null, unit: T32, brand: T28|null, categoryIds: int[], photos: T26[], eans: str[], prices: T36[], suppliers: T12[] }`
|
||||||
- `T3` = `{ delivery: T4 }`
|
- `T3` = `{ delivery: T4 }`
|
||||||
- `T4` = `{ id: int, number: str, type: str, supplierId: int|null, date: str, lines: T20[], files: T9[], externalNumber?: str|null, createdAt?: str, ledger?: T40 }`
|
- `T4` = `{ id: int, number: str, type: str, supplierId: int|null, date: str, lines: T20[], files: T9[], externalNumber?: str|null, createdAt?: str, ledger?: T40 }`
|
||||||
- `T5` = `{ labeltemplate: T6 }`
|
- `T5` = `{ labeltemplate: T6 }`
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ Params: path values first, then `query:` and `body:` (`body?` = optional body).
|
|||||||
### Reusable types
|
### Reusable types
|
||||||
|
|
||||||
- `T1` = `{ article: T2 }`
|
- `T1` = `{ article: T2 }`
|
||||||
- `T2` = `{ id: int, sku: str, name: str, slug: str, track_stock: bool, unitamount: num|null, weight: num|null, unit: T30, brand: T27|null, categoryIds: int[], photos: T25[], eans: str[], prices: T32[], suppliers: T11[] }`
|
- `T2` = `{ id: int, sku: str, name: str, slug: str, desc: str|null, seo: str|null, track_stock: bool, unitamount: num|null, weight: num|null, unit: T30, brand: T27|null, categoryIds: int[], photos: T25[], eans: str[], prices: T32[], suppliers: T11[] }`
|
||||||
- `T3` = `{ delivery: T4 }`
|
- `T3` = `{ delivery: T4 }`
|
||||||
- `T4` = `{ id: int, number: str, type: str, supplierId: int|null, date: str, lines: T19[], files: T9[], externalNumber?: str|null, createdAt?: str, ledger?: T36 }`
|
- `T4` = `{ id: int, number: str, type: str, supplierId: int|null, date: str, lines: T19[], files: T9[], externalNumber?: str|null, createdAt?: str, ledger?: T36 }`
|
||||||
- `T5` = `{ labeltemplate: T6 }`
|
- `T5` = `{ labeltemplate: T6 }`
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ Updated article detail
|
|||||||
"sku": "…",
|
"sku": "…",
|
||||||
"name": "…",
|
"name": "…",
|
||||||
"slug": "…",
|
"slug": "…",
|
||||||
|
"desc": "…",
|
||||||
|
"seo": "…",
|
||||||
"track_stock": true,
|
"track_stock": true,
|
||||||
"unitamount": 1,
|
"unitamount": 1,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ Article detail
|
|||||||
"sku": "…",
|
"sku": "…",
|
||||||
"name": "…",
|
"name": "…",
|
||||||
"slug": "…",
|
"slug": "…",
|
||||||
|
"desc": "…",
|
||||||
|
"seo": "…",
|
||||||
"track_stock": true,
|
"track_stock": true,
|
||||||
"unitamount": 1,
|
"unitamount": 1,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ Updated article detail
|
|||||||
"sku": "…",
|
"sku": "…",
|
||||||
"name": "…",
|
"name": "…",
|
||||||
"slug": "…",
|
"slug": "…",
|
||||||
|
"desc": "…",
|
||||||
|
"seo": "…",
|
||||||
"track_stock": true,
|
"track_stock": true,
|
||||||
"unitamount": 1,
|
"unitamount": 1,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|||||||
@@ -45,6 +45,8 @@ Updated article detail
|
|||||||
"sku": "…",
|
"sku": "…",
|
||||||
"name": "…",
|
"name": "…",
|
||||||
"slug": "…",
|
"slug": "…",
|
||||||
|
"desc": "…",
|
||||||
|
"seo": "…",
|
||||||
"track_stock": true,
|
"track_stock": true,
|
||||||
"unitamount": 1,
|
"unitamount": 1,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ Updated article detail
|
|||||||
"sku": "…",
|
"sku": "…",
|
||||||
"name": "…",
|
"name": "…",
|
||||||
"slug": "…",
|
"slug": "…",
|
||||||
|
"desc": "…",
|
||||||
|
"seo": "…",
|
||||||
"track_stock": true,
|
"track_stock": true,
|
||||||
"unitamount": 1,
|
"unitamount": 1,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|||||||
@@ -61,6 +61,8 @@ Updated article detail
|
|||||||
"sku": "…",
|
"sku": "…",
|
||||||
"name": "…",
|
"name": "…",
|
||||||
"slug": "…",
|
"slug": "…",
|
||||||
|
"desc": "…",
|
||||||
|
"seo": "…",
|
||||||
"track_stock": true,
|
"track_stock": true,
|
||||||
"unitamount": 1,
|
"unitamount": 1,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|||||||
@@ -41,6 +41,8 @@ Updated article detail
|
|||||||
"sku": "…",
|
"sku": "…",
|
||||||
"name": "…",
|
"name": "…",
|
||||||
"slug": "…",
|
"slug": "…",
|
||||||
|
"desc": "…",
|
||||||
|
"seo": "…",
|
||||||
"track_stock": true,
|
"track_stock": true,
|
||||||
"unitamount": 1,
|
"unitamount": 1,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ Updated article detail
|
|||||||
"sku": "…",
|
"sku": "…",
|
||||||
"name": "…",
|
"name": "…",
|
||||||
"slug": "…",
|
"slug": "…",
|
||||||
|
"desc": "…",
|
||||||
|
"seo": "…",
|
||||||
"track_stock": true,
|
"track_stock": true,
|
||||||
"unitamount": 1,
|
"unitamount": 1,
|
||||||
"weight": 1,
|
"weight": 1,
|
||||||
|
|||||||
@@ -136,6 +136,12 @@
|
|||||||
* type: string
|
* type: string
|
||||||
* slug:
|
* slug:
|
||||||
* type: string
|
* type: string
|
||||||
|
* desc:
|
||||||
|
* type: string
|
||||||
|
* nullable: true
|
||||||
|
* seo:
|
||||||
|
* type: string
|
||||||
|
* nullable: true
|
||||||
* track_stock:
|
* track_stock:
|
||||||
* type: boolean
|
* type: boolean
|
||||||
* unitamount:
|
* unitamount:
|
||||||
|
|||||||
Reference in New Issue
Block a user