This commit is contained in:
seb
2026-10-16 18:04:42 +02:00
parent d05ba9276f
commit de6c4987b9
11 changed files with 358 additions and 236 deletions

View File

@@ -306,26 +306,57 @@ export function register(app, basePath = '') {
* trackStock:
* type: boolean
* unit:
* type: object
* $ref: '#/components/schemas/Unit'
* nullable: true
* brand:
* type: object
* $ref: '#/components/schemas/ArticleBrand'
* nullable: true
* price:
* type: object
* nullable: true
* properties:
* minmultiplier:
* type: number
* net:
* type: number
* nullable: true
* taxRate:
* type: number
* nullable: true
* gross:
* type: number
* nullable: true
* prices:
* type: array
* items:
* type: object
* properties:
* minmultiplier:
* type: number
* net:
* type: number
* nullable: true
* taxRate:
* type: number
* nullable: true
* gross:
* type: number
* nullable: true
* categories:
* type: array
* items:
* type: object
* properties:
* id:
* type: integer
* name:
* type: string
* slug:
* type: string
* photos:
* type: array
* items:
* type: object
* $ref: '#/components/schemas/ArticlePhoto'
* eans:
* type: array
* items:
@@ -339,6 +370,31 @@ export function register(app, basePath = '') {
* type: array
* items:
* type: object
* properties:
* id:
* type: integer
* sku:
* type: string
* sort:
* type: integer
* name:
* type: string
* slug:
* type: string
* attributeValueId:
* type: integer
* nullable: true
* attributeValue:
* type: string
* nullable: true
* unitamount:
* type: number
* nullable: true
* weight:
* type: number
* nullable: true
* trackStock:
* type: boolean
* 400:
* description: Invalid parameters
* content: