Skip to content

Commit

Permalink
feat: Update OpenAPI file replicated from CMS4
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 5, 2025
1 parent 7fe649e commit 5c3a3fa
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41046,13 +41046,92 @@ components:
description: 'Variant amounts/claims per individual stocks.'
items:
type: object
additionalProperties: false
required:
- stockId
- amount
- claim
- location
- lastAmountUpdate
properties:
stockId:
type: integer
description: 'stock unique ID'
examples:
- 1
amount:
$ref: '#/components/schemas/typeAmount'
description: 'amount of items, products'
examples:
- '50.000'
claim:
$ref: '#/components/schemas/typeAmount'
description: 'requirements on stock quantity'
examples:
- '5.000'
location:
type:
- string
- 'null'
description: 'stock position, can be `null`'
examples:
- 'Location 4'
lastAmountUpdate:
type:
- string
- 'null'
$ref: '#/components/schemas/typeDateTime'
description: 'date and time of last change of stock quantity (ISO 8601 format), can be `null`'
examples:
- '2024-01-04T10:55:55+0100'
perPricelistPrices:
type:
- array
- 'null'
description: 'Variant prices per individual pricelists.'
items:
type: object
additionalProperties: false
required:
- code
- currencyCode
- includingVat
- vatRate
- price
- sales
- orderableAmount
- pricelistId
properties:
code:
type: string
description: 'identifier of product variant'
examples:
- '0008'
currencyCode:
$ref: '#/components/schemas/typeCurrencyCode'
examples:
- EUR
includingVat:
type: boolean
description: 'flag, if price is including VAT'
examples:
- true
vatRate:
$ref: '#/components/schemas/typeVatRate'
description: 'VAT rate'
examples:
- 21.0
price:
$ref: '#/components/schemas/variantPrice'
sales:
$ref: '#/components/schemas/priceSales'
orderableAmount:
$ref: '#/components/schemas/productOrderableAmount'
pricelistId:
type: integer
description: 'price list identifier'
examples:
- 1
url:
type:
- string
Expand Down

0 comments on commit 5c3a3fa

Please sign in to comment.