API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · articles

Article Schema

Schema-ID
article
Collection
articles
Permissions
  • Lezenarticle_view
  • Aanmakenarticle_create
  • Wijzigenarticle_edit
  • Verwijderenarticle_delete

Velden

Article Schema

articles4 permissions

Schema for validating article entities (products, services, bundles, BOM)

articleNumberstringoptioneel

Internal sequenced article number (e.g. A-2026-00042)

max. 1000 tekensDefault: nullnullable
namestringvereist

Article name

1–300 tekens
matchCodestringoptioneel

Quick search code / abbreviation

max. 1000 tekensDefault: nullnullable
descriptionstringoptioneel

Article description (plain text). Used as legacy fallback when no linked product description exists. New marketing copy belongs on the linked product. See ADR 0094c.

max. 4000 tekensnullable
descriptionHtmlstringoptioneel

DEPRECATED — long marketing descriptions are sourced from product.descriptionHtml in the customer-portal shop. Kept as a legacy fallback for articles without a linked product; will be removed in a future release. See ADR 0094c.

nullable
longTextstringoptioneel

DEPRECATED — long marketing descriptions are sourced from product.descriptionHtml in the customer-portal shop. Kept as a legacy fallback; will be removed in a future release. See ADR 0094c.

Default: nullnullable
shortDescriptionstringoptioneel

Short description for list views and shop cards

max. 500 tekensDefault: nullnullable
shortDescription2stringoptioneel

Secondary short description line

max. 500 tekensDefault: nullnullable
skustringoptioneel

External article number / EAN (legacy field)

max. 50 tekensnullable
eanstringoptioneel

EAN/GTIN barcode

max. 18 tekensDefault: nullnullable
barcodestringoptioneel

Generic barcode payload (Code128, QR, …)

max. 4000 tekensDefault: nullnullable
manufacturerPartNumberstringoptioneel

Manufacturer part number (Herstellernummer)

max. 300 tekensDefault: nullnullable
articleTypestringvereist

Article type. STOCK_TRACKED = Bestandsführend (warehouse stock managed), BASIC = Basisartikel (no stock tracking), SERVICE = Dienstleistung, SHIPPING_COST = Versandkosten, SALES_BILL_OF_MATERIAL = Verkaufsstückliste

STOCK_TRACKEDBASICSERVICESHIPPING_COSTSALES_BILL_OF_MATERIAL
articleCategoryIduuidoptioneel

Article category UUID

nullable
weclappArticleCategoryIdstringoptioneel

weclapp's own article-category id, copied verbatim from the source article. Deliberately NOT stored in `articleCategoryId`: that field holds a local `article_categories` UUID, and a weclapp id (e.g. "7035") fails its UUID pattern. Order-intake rules (ADR 0285) match against this field for weclapp-sourced articles.

max. 64 tekensnullable
articleCategoryNamestringoptioneel

Human-readable name of the source system's article category (weclapp `articleCategory.name`, max 120 there). Denormalized for display and so a category stays identifiable if the source id is ever re-keyed.

max. 120 tekensnullable
productIduuidoptioneel

Product UUID (links article to a product in the portfolio)

nullable
statusstringoptioneel

Lifecycle status of the article

nullDRAFTACTIVEDISCONTINUEDDEPRECATED
Default: nullnullable
tagsstring[]optioneel

Tags for categorization

Default: []
manufacturerstringoptioneel

Manufacturer / brand (free text). Optional override for OEM cases — when empty, the linked product.manufacturer is used. See ADR 0094a.

max. 300 tekensDefault: nullnullable
compatDeviceKeystringoptioneel

Override of product.compatDeviceKey for OEM variants that are a different device model than the cluster. Empty is the normal case — the product decides (ADR 0939).

max. 200 tekensDefault: nullnullable
manufacturerIdstringoptioneel

Optional FK to manufacturer party (vendor)

PatternDefault: nullnullable
taxRateTypestringoptioneel

VAT category — maps to current rate via tax-config

nullSTANDARDREDUCEDSUPER_REDUCEDZERO
Default: nullnullable
unitIdstringoptioneel

Reference to units collection (Stück, h, kg, …)

PatternDefault: nullnullable
unitLabelstringoptioneel

Unit label (e.g. "pro Benutzer", "pro Gerät") — fallback for unitId

max. 100 tekensnullable
minQuantityintegeroptioneel

Minimum sales order quantity

≥ 1Default: 1
maxQuantityintegeroptioneel

Maximum sales order quantity (null = unlimited)

≥ 1nullable
quantityStepintegeroptioneel

Order quantity step (e.g. 5-packs)

≥ 1Default: 1
minimumPurchaseQuantitystringoptioneel

Minimum purchase order quantity

PatternDefault: nullnullable
fixedPurchaseQuantitystringoptioneel

Fixed purchase quantity — orders must be exactly this value

PatternDefault: nullnullable
packagingQuantityintegeroptioneel

Quantity per packaging unit (VPE)

≥ 1Default: nullnullable
quantityConversionsobject[]optioneel

Unit conversions (e.g. 1 carton = 12 pcs)

Default: []
iduuidvereist
fromUnitIduuidvereist
toUnitIduuidvereist
factorstringvereist
Pattern
oppositeDirectionbooleanoptioneel
Default: false
articlePricesobject[]optioneel

Article prices with optional customer/tier/date specificity

Default: []
iduuidvereist
pricestringvereist

Price value

Pattern
priceScaleTypestringoptioneel

UNIT=per unit, FIXED=fixed total, TIERED/SCALE_FROM=tier from quantity, SCALE_TO=tier up to quantity

UNITFIXEDTIEREDSCALE_FROMSCALE_TO
Default: "UNIT"
priceScaleValuestringoptioneel

Quantity threshold for tiered pricing

PatternDefault: "1"
currencyCodestringoptioneel

ISO 4217 currency code

PatternDefault: "EUR"
partyIduuidoptioneel

Customer-specific price (null = default price)

nullable
descriptionstringoptioneel

Price description (e.g. "Enterprise discount")

max. 255 tekensnullable
startDatedateoptioneel

Price valid from (YYYY-MM-DD)

nullable
endDatedateoptioneel

Price valid until (YYYY-MM-DD)

nullable
salesChannelstringoptioneel

Sales channel code (free-form, e.g. "WEB", "B2B", "RETAIL")

max. 50 tekensDefault: nullnullable
reductionAdditionsobject[]optioneel

Surcharges / reductions applied on top of price

Default: []
iduuidvereist
namestringvereist
max. 1000 tekens
typestringvereist
ADDITION_PERCENTADDITION_ABSOLUTEREDUCTION_PERCENTREDUCTION_ABSOLUTE
valuestringvereist
Pattern
sortOrderintegeroptioneel
≥ 0Default: 0
articleCalculationPricesobject[]optioneel

Calculation prices (Kalkulationspreise + UVP) over time

Default: []
iduuidvereist
typestringvereist

Calculation price (Kalkulationspreis) or RRP (UVP)

CALCULATION_PRICERECOMMENDED_RETAIL_PRICE
pricestringvereist
Pattern
currencyCodestringoptioneel
PatternDefault: "EUR"
startDatedateoptioneel
Default: nullnullable
endDatedateoptioneel
Default: nullnullable
salesChannelstringoptioneel
max. 50 tekensDefault: nullnullable
purchasePricestringoptioneel

Purchase / cost price (EK-Preis, internal only)

PatternDefault: nullnullable
recommendedRetailPricestringoptioneel

Recommended retail price (UVP) — quick top-level value

PatternDefault: nullnullable
priceOnRequestbooleanoptioneel

When true, the customer-portal shop hides the resolved price and shows "Preis auf Anfrage" with a "Angebot anfragen" CTA, regardless of articlePrices/recommendedRetailPrice. Use this for high-touch B2B SKUs where pricing is negotiated per customer.

Default: false
defaultPriceCalculationTypestringoptioneel

Which price source is used as the default in offers

nullPURCHASESALESMARGIN_CALCULATIONRECOMMENDED_RETAIL_PRICE
Default: nullnullable
marginCalculationPriceTypestringoptioneel

Cost basis for margin calculation

nullPURCHASE_PRICE_PRODUCTION_COSTMOVING_AVERAGEARTICLE_CALCULATION_PRICEEMPLOYEE_COST
Default: nullnullable
commissionRatestringoptioneel

Commission rate in percent

PatternDefault: nullnullable
applyCashDiscountbooleanoptioneel

Whether cash discount (Skonto) applies

Default: true
billingIntervalstringoptioneel

Default billing interval (for recurring services)

MONTHLYQUARTERLYSEMI_ANNUALYEARLYONE_TIME
nullable
tracksInPortfoliobooleanoptioneel

Whether sales of this article should be reflected in the customer portfolio (party_product). null = inferred at runtime (true when billingInterval is set and not ONE_TIME, or articleType=SERVICE; false otherwise). Explicit true/false overrides the heuristic. See portfolio reconcile worker.

Default: nullnullable
setupFeestringoptioneel

One-time setup fee

Patternnullable
invoicingTypestringoptioneel

EFFORT = invoice by effort, FIXED_PRICE = fixed quote

nullEFFORTFIXED_PRICE
Default: nullnullable
activebooleanoptioneel

Whether article is active

Default: true
availableInSalebooleanoptioneel

Available in portal / sales

Default: false
availableForPartyIdsuuid[]optioneel

Restrict to specific customers (null = all)

nullable
requiresApprovalbooleanoptioneel

Order requires MSP approval

Default: false
leadTimeDaysintegeroptioneel

Estimated delivery time in days

≥ 0nullable
salesChannelsstring[]optioneel

Free-form sales channel codes the article is available in

Default: []
useAvailableForSalesChannelsbooleanoptioneel

Whether `salesChannels` should be enforced

Default: false
showOnDeliveryNotebooleanoptioneel

Whether the article appears on the delivery note

Default: true
recordItemGroupNamestringoptioneel

Document item group (Belegpositionsgruppe, e.g. "Hardware", "Service")

max. 1000 tekensDefault: nullnullable
defineIndividualTaskTemplatesbooleanoptioneel

Whether the article uses individual task templates

Default: false
minimumStockQuantitystringoptioneel

Minimum stock level (Mindestbestand)

PatternDefault: nullnullable
targetStockQuantitystringoptioneel

Target stock level (Sollbestand)

PatternDefault: nullnullable
safetyStockDaysintegeroptioneel

Safety stock in days of consumption

≥ 0Default: nullnullable
procurementLeadDaysintegeroptioneel

Procurement lead time in days (Wiederbeschaffungszeit)

≥ 0Default: nullnullable
averageDeliveryTimeintegeroptioneel

Average delivery time in days

≥ 0Default: nullnullable
serialNumberRequiredbooleanoptioneel

Whether serial numbers are mandatory for this article

Default: false
batchNumberRequiredbooleanoptioneel

Whether batch/lot numbers are mandatory

Default: false
articleAlternativeQuantitiesobject[]optioneel

Per-warehouse stock thresholds

Default: []
iduuidvereist
warehouseIduuidvereist
minimumOrderQuantitystringoptioneel
PatternDefault: nullnullable
minimumStockQuantitystringoptioneel
PatternDefault: nullnullable
targetStockQuantitystringoptioneel
PatternDefault: nullnullable
defaultStoragePlaceIdsuuid[]optioneel

Default storage places (Lagerplätze) for replenishment

Default: []
supplySourcesobject[]optioneel

Supply sources (Bezugsquellen)

Default: []
iduuidvereist
supplierIdstringoptioneel

FK to party (vendor)

PatternDefault: nullnullable
supplierNamestringoptioneel

Denormalized supplier name

max. 300 tekensDefault: nullnullable
supplierArticleNumberstringoptioneel

Supplier’s article number

max. 200 tekensDefault: nullnullable
purchasePricestringoptioneel
PatternDefault: nullnullable
currencyCodestringoptioneel
PatternDefault: "EUR"
minimumPurchaseQuantitystringoptioneel
PatternDefault: nullnullable
leadTimeDaysintegeroptioneel
≥ 0Default: nullnullable
isPrimarybooleanoptioneel
Default: false
sortOrderintegeroptioneel
≥ 0Default: 0
primarySupplySourceIdstringoptioneel

FK to the primary supplySource entry

PatternDefault: nullnullable
purchaseCostCenterstringoptioneel

Purchase cost center label

max. 100 tekensDefault: nullnullable
salesBillOfMaterialItemsobject[]optioneel

Sales bill of material items (bundle components)

Default: []
iduuidvereist
articleIduuidvereist
articleNamestringoptioneel
nullable
quantitystringoptioneel
PatternDefault: "1"
isOptionalbooleanoptioneel
Default: false
isIncludedbooleanoptioneel
Default: true
unitPriceOverridestringoptioneel
Patternnullable
discountPercentstringoptioneel
Patternnullable
positionNumberintegervereist
≥ 0
useSalesBillOfMaterialItemPricesbooleanoptioneel

true: bundle price = sum of item prices, false: own price from articlePrices

Default: false
useSalesBillOfMaterialItemPricesForPurchasebooleanoptioneel

true: bundle purchase price = sum of subitem purchase prices, false: own purchasePrice. Mirrors weclapp `useSalesBillOfMaterialItemPricesForPurchase` — applies to procurement (EK), independent of the sales-side flag above.

Default: false
useSalesBillOfMaterialSubitemCostsbooleanoptioneel

true: include subitem costs (margin calculation, costing) when computing this bundle’s cost basis. Mirrors weclapp `useSalesBillOfMaterialSubitemCosts`. When false, the bundle’s own purchasePrice / calculation price is used as cost basis.

Default: false
productionBillOfMaterialItemsobject[]optioneel

Production bill of material items

Default: []
iduuidvereist
articleIduuidvereist
articleNamestringoptioneel
nullable
quantitystringoptioneel
PatternDefault: "1"
positionNumberintegervereist
≥ 0
productionArticlebooleanoptioneel

Whether the article is produced in-house

Default: false
productionConfigurationRulestringoptioneel

How BOM components are configured at order time

nullALL_COMPONENTSAT_LEAST_ONE_COMPONENTAT_LEAST_ONE_COMPONENT_WITH_VARIABLE_QUANTITYONE_COMPONENTONE_COMPONENT_WITH_VARIABLE_QUANTITY
Default: nullnullable
lowLevelCodeintegeroptioneel

BOM nesting depth (computed, read-only)

≥ 0Default: nullread-onlynullable
plannedWorkingTimePerUnitintegeroptioneel

Planned working time per produced unit (minutes)

≥ 0Default: nullnullable
producerTypestringoptioneel

Producer type / classification

max. 63 tekensDefault: nullnullable
articleNetWeightstringoptioneel

Net weight

PatternDefault: nullnullable
articleGrossWeightstringoptioneel

Gross weight

PatternDefault: nullnullable
weightUnitstringoptioneel

Weight unit

nullKGGLBOZ
Default: "KG"nullable
articleLengthstringoptioneel
PatternDefault: nullnullable
articleWidthstringoptioneel
PatternDefault: nullnullable
articleHeightstringoptioneel
PatternDefault: nullnullable
dimensionUnitstringoptioneel

Length / width / height unit

nullCMMMMINCH
Default: "CM"nullable
countryOfOriginCodestringoptioneel

ISO 3166-1 alpha-2 country code

PatternDefault: nullnullable
customsTariffNumberstringoptioneel

Customs tariff number (Zolltarifnummer)

max. 50 tekensDefault: nullnullable
customsDescriptionstringoptioneel

Customs description

max. 256 tekensDefault: nullnullable
revenueAccountCodestringoptioneel

Revenue account code for DATEV (Erlöskonto, e.g. "8400")

max. 20 tekensDefault: nullnullable
expenseAccountCodestringoptioneel

Expense account code for DATEV (Aufwandskonto, e.g. "4900")

max. 20 tekensDefault: nullnullable
accountingCodestringoptioneel

Accounting code / Buchungskreis

max. 50 tekensDefault: nullnullable
salesCostCenterstringoptioneel

Sales cost center label

max. 100 tekensDefault: nullnullable
launchDatedateoptioneel

Launch date / market introduction (YYYY-MM-DD)

Default: nullnullable
sellFromDatedateoptioneel

Available for sale from this date

Default: nullnullable
sellByDatedateoptioneel

Available for sale until this date

Default: nullnullable
supportUntilDatedateoptioneel

Support / maintenance end date (relevant for licenses & hardware)

Default: nullnullable
expirationDaysintegeroptioneel

Shelf life in days from procurement

≥ 0Default: nullnullable
imageS3Keystringoptioneel

DEPRECATED — primary product image S3 key (legacy single-image field). Use imageFileIds; will be removed in a future release.

nullable
imageFileIdsuuid[]optioneel

Variant-specific image file IDs (resolved via /api/v1/files/{fileId}/download-url). When non-empty, these override the linked product.imageFileIds in the customer-portal gallery. Leave empty to inherit the product gallery. See ADR 0094a.

Default: []
attachmentFileIdsuuid[]optioneel

Variant-specific non-image attachments. Cluster-wide datasheets, manuals and certificates belong on product.documents (richer metadata) or product.attachmentFileIds. In the customer-portal Downloads tab these are rendered as a separate "variant-specific" section. See ADR 0094a.

Default: []
attributesobject[]optioneel

Flexible variant-specific key-value attributes (e.g. RAM, display size). Cluster-wide grouped specs belong on product.technicalSpecs. See ADR 0094a.

Default: []
keystringvereist
max. 100 tekens
labelstringvereist
max. 200 tekens
valuestringvereist
max. 500 tekens
customerArticleNumbersobject[]optioneel

Customer-specific article numbers (B2B)

Default: []
iduuidvereist
partyIduuidvereist
articleNumberstringvereist
max. 200 tekens
descriptionstringoptioneel
max. 500 tekensDefault: nullnullable
rentablebooleanoptioneel

Mietmaterial: kann für Veranstaltungen reserviert werden (ADR 0876)

Default: nullnullable
rentalStockobject[]optioneel

Eigener Mietbestand je Lagerort (ADR 0876)

max. 50 itemsDefault: []
locationIduuidoptioneel

Lagerort; null = Bestand ohne Lagerort

Default: nullnullable
quantityintegervereist
0 – 1000000
rentalBufferBeforeMinutesintegeroptioneel

Rüstpuffer: so lange vor der Nutzung ist das Material schon gebunden

0 – 43200Default: nullnullable
rentalBufferAfterMinutesintegeroptioneel

Rückgabepuffer: so lange nach der Nutzung ist das Material noch gebunden

0 – 43200Default: nullnullable
internalNotestringoptioneel

Internal note (not visible in portal)

max. 4000 tekensnullable
sortOrderintegeroptioneel

Display sort order

≥ 0Default: 0

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/articles — Lijst, gepagineerd + filterbaar
  • GET /api/v1/articles/<id> — Enkele entity
  • POST /api/v1/articles — Aanmaken
  • PATCH /api/v1/articles/<id> — Gedeeltelijke update
  • DELETE /api/v1/articles/<id> — Soft-delete
  • GET /api/v1/articles/<id>/timeline — Audit + activiteiten

Zoeken