API · v1 · estable
CODEMETA OSDeveloper Center
ES
Abrir la consola
Entidad · articles

Article Schema

ID del esquema
article
Colección
articles
Permisos
  • Leerarticle_view
  • Creararticle_create
  • Modificararticle_edit
  • Eliminararticle_delete

Campos

Article Schema

articles4 permisos

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

articleNumberstringopcional

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

máx. 1000 caracteresValor por defecto: nulladmite null
namestringobligatorio

Article name

1–300 caracteres
matchCodestringopcional

Quick search code / abbreviation

máx. 1000 caracteresValor por defecto: nulladmite null
descriptionstringopcional

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.

máx. 4000 caracteresadmite null
descriptionHtmlstringopcional

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.

admite null
longTextstringopcional

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.

Valor por defecto: nulladmite null
shortDescriptionstringopcional

Short description for list views and shop cards

máx. 500 caracteresValor por defecto: nulladmite null
shortDescription2stringopcional

Secondary short description line

máx. 500 caracteresValor por defecto: nulladmite null
skustringopcional

External article number / EAN (legacy field)

máx. 50 caracteresadmite null
eanstringopcional

EAN/GTIN barcode

máx. 18 caracteresValor por defecto: nulladmite null
barcodestringopcional

Generic barcode payload (Code128, QR, …)

máx. 4000 caracteresValor por defecto: nulladmite null
manufacturerPartNumberstringopcional

Manufacturer part number (Herstellernummer)

máx. 300 caracteresValor por defecto: nulladmite null
articleTypestringobligatorio

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
articleCategoryIduuidopcional

Article category UUID

admite null
weclappArticleCategoryIdstringopcional

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.

máx. 64 caracteresadmite null
articleCategoryNamestringopcional

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.

máx. 120 caracteresadmite null
productIduuidopcional

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

admite null
statusstringopcional

Lifecycle status of the article

nullDRAFTACTIVEDISCONTINUEDDEPRECATED
Valor por defecto: nulladmite null
tagsstring[]opcional

Tags for categorization

Valor por defecto: []
manufacturerstringopcional

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

máx. 300 caracteresValor por defecto: nulladmite null
compatDeviceKeystringopcional

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).

máx. 200 caracteresValor por defecto: nulladmite null
manufacturerIdstringopcional

Optional FK to manufacturer party (vendor)

PatrónValor por defecto: nulladmite null
taxRateTypestringopcional

VAT category — maps to current rate via tax-config

nullSTANDARDREDUCEDSUPER_REDUCEDZERO
Valor por defecto: nulladmite null
unitIdstringopcional

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

PatrónValor por defecto: nulladmite null
unitLabelstringopcional

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

máx. 100 caracteresadmite null
minQuantityintegeropcional

Minimum sales order quantity

≥ 1Valor por defecto: 1
maxQuantityintegeropcional

Maximum sales order quantity (null = unlimited)

≥ 1admite null
quantityStepintegeropcional

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

≥ 1Valor por defecto: 1
minimumPurchaseQuantitystringopcional

Minimum purchase order quantity

PatrónValor por defecto: nulladmite null
fixedPurchaseQuantitystringopcional

Fixed purchase quantity — orders must be exactly this value

PatrónValor por defecto: nulladmite null
packagingQuantityintegeropcional

Quantity per packaging unit (VPE)

≥ 1Valor por defecto: nulladmite null
quantityConversionsobject[]opcional

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

Valor por defecto: []
iduuidobligatorio
fromUnitIduuidobligatorio
toUnitIduuidobligatorio
factorstringobligatorio
Patrón
oppositeDirectionbooleanopcional
Valor por defecto: false
articlePricesobject[]opcional

Article prices with optional customer/tier/date specificity

Valor por defecto: []
iduuidobligatorio
pricestringobligatorio

Price value

Patrón
priceScaleTypestringopcional

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

UNITFIXEDTIEREDSCALE_FROMSCALE_TO
Valor por defecto: "UNIT"
priceScaleValuestringopcional

Quantity threshold for tiered pricing

PatrónValor por defecto: "1"
currencyCodestringopcional

ISO 4217 currency code

PatrónValor por defecto: "EUR"
partyIduuidopcional

Customer-specific price (null = default price)

admite null
descriptionstringopcional

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

máx. 255 caracteresadmite null
startDatedateopcional

Price valid from (YYYY-MM-DD)

admite null
endDatedateopcional

Price valid until (YYYY-MM-DD)

admite null
salesChannelstringopcional

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

máx. 50 caracteresValor por defecto: nulladmite null
reductionAdditionsobject[]opcional

Surcharges / reductions applied on top of price

Valor por defecto: []
iduuidobligatorio
namestringobligatorio
máx. 1000 caracteres
typestringobligatorio
ADDITION_PERCENTADDITION_ABSOLUTEREDUCTION_PERCENTREDUCTION_ABSOLUTE
valuestringobligatorio
Patrón
sortOrderintegeropcional
≥ 0Valor por defecto: 0
articleCalculationPricesobject[]opcional

Calculation prices (Kalkulationspreise + UVP) over time

Valor por defecto: []
iduuidobligatorio
typestringobligatorio

Calculation price (Kalkulationspreis) or RRP (UVP)

CALCULATION_PRICERECOMMENDED_RETAIL_PRICE
pricestringobligatorio
Patrón
currencyCodestringopcional
PatrónValor por defecto: "EUR"
startDatedateopcional
Valor por defecto: nulladmite null
endDatedateopcional
Valor por defecto: nulladmite null
salesChannelstringopcional
máx. 50 caracteresValor por defecto: nulladmite null
purchasePricestringopcional

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

PatrónValor por defecto: nulladmite null
recommendedRetailPricestringopcional

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

PatrónValor por defecto: nulladmite null
priceOnRequestbooleanopcional

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.

Valor por defecto: false
defaultPriceCalculationTypestringopcional

Which price source is used as the default in offers

nullPURCHASESALESMARGIN_CALCULATIONRECOMMENDED_RETAIL_PRICE
Valor por defecto: nulladmite null
marginCalculationPriceTypestringopcional

Cost basis for margin calculation

nullPURCHASE_PRICE_PRODUCTION_COSTMOVING_AVERAGEARTICLE_CALCULATION_PRICEEMPLOYEE_COST
Valor por defecto: nulladmite null
commissionRatestringopcional

Commission rate in percent

PatrónValor por defecto: nulladmite null
applyCashDiscountbooleanopcional

Whether cash discount (Skonto) applies

Valor por defecto: true
billingIntervalstringopcional

Default billing interval (for recurring services)

MONTHLYQUARTERLYSEMI_ANNUALYEARLYONE_TIME
admite null
tracksInPortfoliobooleanopcional

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.

Valor por defecto: nulladmite null
setupFeestringopcional

One-time setup fee

Patrónadmite null
invoicingTypestringopcional

EFFORT = invoice by effort, FIXED_PRICE = fixed quote

nullEFFORTFIXED_PRICE
Valor por defecto: nulladmite null
activebooleanopcional

Whether article is active

Valor por defecto: true
availableInSalebooleanopcional

Available in portal / sales

Valor por defecto: false
availableForPartyIdsuuid[]opcional

Restrict to specific customers (null = all)

admite null
requiresApprovalbooleanopcional

Order requires MSP approval

Valor por defecto: false
leadTimeDaysintegeropcional

Estimated delivery time in days

≥ 0admite null
salesChannelsstring[]opcional

Free-form sales channel codes the article is available in

Valor por defecto: []
useAvailableForSalesChannelsbooleanopcional

Whether `salesChannels` should be enforced

Valor por defecto: false
showOnDeliveryNotebooleanopcional

Whether the article appears on the delivery note

Valor por defecto: true
recordItemGroupNamestringopcional

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

máx. 1000 caracteresValor por defecto: nulladmite null
defineIndividualTaskTemplatesbooleanopcional

Whether the article uses individual task templates

Valor por defecto: false
minimumStockQuantitystringopcional

Minimum stock level (Mindestbestand)

PatrónValor por defecto: nulladmite null
targetStockQuantitystringopcional

Target stock level (Sollbestand)

PatrónValor por defecto: nulladmite null
safetyStockDaysintegeropcional

Safety stock in days of consumption

≥ 0Valor por defecto: nulladmite null
procurementLeadDaysintegeropcional

Procurement lead time in days (Wiederbeschaffungszeit)

≥ 0Valor por defecto: nulladmite null
averageDeliveryTimeintegeropcional

Average delivery time in days

≥ 0Valor por defecto: nulladmite null
serialNumberRequiredbooleanopcional

Whether serial numbers are mandatory for this article

Valor por defecto: false
batchNumberRequiredbooleanopcional

Whether batch/lot numbers are mandatory

Valor por defecto: false
articleAlternativeQuantitiesobject[]opcional

Per-warehouse stock thresholds

Valor por defecto: []
iduuidobligatorio
warehouseIduuidobligatorio
minimumOrderQuantitystringopcional
PatrónValor por defecto: nulladmite null
minimumStockQuantitystringopcional
PatrónValor por defecto: nulladmite null
targetStockQuantitystringopcional
PatrónValor por defecto: nulladmite null
defaultStoragePlaceIdsuuid[]opcional

Default storage places (Lagerplätze) for replenishment

Valor por defecto: []
supplySourcesobject[]opcional

Supply sources (Bezugsquellen)

Valor por defecto: []
iduuidobligatorio
supplierIdstringopcional

FK to party (vendor)

PatrónValor por defecto: nulladmite null
supplierNamestringopcional

Denormalized supplier name

máx. 300 caracteresValor por defecto: nulladmite null
supplierArticleNumberstringopcional

Supplier’s article number

máx. 200 caracteresValor por defecto: nulladmite null
purchasePricestringopcional
PatrónValor por defecto: nulladmite null
currencyCodestringopcional
PatrónValor por defecto: "EUR"
minimumPurchaseQuantitystringopcional
PatrónValor por defecto: nulladmite null
leadTimeDaysintegeropcional
≥ 0Valor por defecto: nulladmite null
isPrimarybooleanopcional
Valor por defecto: false
sortOrderintegeropcional
≥ 0Valor por defecto: 0
primarySupplySourceIdstringopcional

FK to the primary supplySource entry

PatrónValor por defecto: nulladmite null
purchaseCostCenterstringopcional

Purchase cost center label

máx. 100 caracteresValor por defecto: nulladmite null
salesBillOfMaterialItemsobject[]opcional

Sales bill of material items (bundle components)

Valor por defecto: []
iduuidobligatorio
articleIduuidobligatorio
articleNamestringopcional
admite null
quantitystringopcional
PatrónValor por defecto: "1"
isOptionalbooleanopcional
Valor por defecto: false
isIncludedbooleanopcional
Valor por defecto: true
unitPriceOverridestringopcional
Patrónadmite null
discountPercentstringopcional
Patrónadmite null
positionNumberintegerobligatorio
≥ 0
useSalesBillOfMaterialItemPricesbooleanopcional

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

Valor por defecto: false
useSalesBillOfMaterialItemPricesForPurchasebooleanopcional

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.

Valor por defecto: false
useSalesBillOfMaterialSubitemCostsbooleanopcional

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.

Valor por defecto: false
productionBillOfMaterialItemsobject[]opcional

Production bill of material items

Valor por defecto: []
iduuidobligatorio
articleIduuidobligatorio
articleNamestringopcional
admite null
quantitystringopcional
PatrónValor por defecto: "1"
positionNumberintegerobligatorio
≥ 0
productionArticlebooleanopcional

Whether the article is produced in-house

Valor por defecto: false
productionConfigurationRulestringopcional

How BOM components are configured at order time

nullALL_COMPONENTSAT_LEAST_ONE_COMPONENTAT_LEAST_ONE_COMPONENT_WITH_VARIABLE_QUANTITYONE_COMPONENTONE_COMPONENT_WITH_VARIABLE_QUANTITY
Valor por defecto: nulladmite null
lowLevelCodeintegeropcional

BOM nesting depth (computed, read-only)

≥ 0Valor por defecto: nullsolo lecturaadmite null
plannedWorkingTimePerUnitintegeropcional

Planned working time per produced unit (minutes)

≥ 0Valor por defecto: nulladmite null
producerTypestringopcional

Producer type / classification

máx. 63 caracteresValor por defecto: nulladmite null
articleNetWeightstringopcional

Net weight

PatrónValor por defecto: nulladmite null
articleGrossWeightstringopcional

Gross weight

PatrónValor por defecto: nulladmite null
weightUnitstringopcional

Weight unit

nullKGGLBOZ
Valor por defecto: "KG"admite null
articleLengthstringopcional
PatrónValor por defecto: nulladmite null
articleWidthstringopcional
PatrónValor por defecto: nulladmite null
articleHeightstringopcional
PatrónValor por defecto: nulladmite null
dimensionUnitstringopcional

Length / width / height unit

nullCMMMMINCH
Valor por defecto: "CM"admite null
countryOfOriginCodestringopcional

ISO 3166-1 alpha-2 country code

PatrónValor por defecto: nulladmite null
customsTariffNumberstringopcional

Customs tariff number (Zolltarifnummer)

máx. 50 caracteresValor por defecto: nulladmite null
customsDescriptionstringopcional

Customs description

máx. 256 caracteresValor por defecto: nulladmite null
revenueAccountCodestringopcional

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

máx. 20 caracteresValor por defecto: nulladmite null
expenseAccountCodestringopcional

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

máx. 20 caracteresValor por defecto: nulladmite null
accountingCodestringopcional

Accounting code / Buchungskreis

máx. 50 caracteresValor por defecto: nulladmite null
salesCostCenterstringopcional

Sales cost center label

máx. 100 caracteresValor por defecto: nulladmite null
launchDatedateopcional

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

Valor por defecto: nulladmite null
sellFromDatedateopcional

Available for sale from this date

Valor por defecto: nulladmite null
sellByDatedateopcional

Available for sale until this date

Valor por defecto: nulladmite null
supportUntilDatedateopcional

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

Valor por defecto: nulladmite null
expirationDaysintegeropcional

Shelf life in days from procurement

≥ 0Valor por defecto: nulladmite null
imageS3Keystringopcional

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

admite null
imageFileIdsuuid[]opcional

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.

Valor por defecto: []
attachmentFileIdsuuid[]opcional

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.

Valor por defecto: []
attributesobject[]opcional

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

Valor por defecto: []
keystringobligatorio
máx. 100 caracteres
labelstringobligatorio
máx. 200 caracteres
valuestringobligatorio
máx. 500 caracteres
customerArticleNumbersobject[]opcional

Customer-specific article numbers (B2B)

Valor por defecto: []
iduuidobligatorio
partyIduuidobligatorio
articleNumberstringobligatorio
máx. 200 caracteres
descriptionstringopcional
máx. 500 caracteresValor por defecto: nulladmite null
rentablebooleanopcional

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

Valor por defecto: nulladmite null
rentalStockobject[]opcional

Eigener Mietbestand je Lagerort (ADR 0876)

máx. 50 elementosValor por defecto: []
locationIduuidopcional

Lagerort; null = Bestand ohne Lagerort

Valor por defecto: nulladmite null
quantityintegerobligatorio
0 – 1000000
rentalBufferBeforeMinutesintegeropcional

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

0 – 43200Valor por defecto: nulladmite null
rentalBufferAfterMinutesintegeropcional

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

0 – 43200Valor por defecto: nulladmite null
internalNotestringopcional

Internal note (not visible in portal)

máx. 4000 caracteresadmite null
sortOrderintegeropcional

Display sort order

≥ 0Valor por defecto: 0

Endpoints estándar

Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:

  • GET /api/v1/articles — Lista, paginada y filtrable
  • GET /api/v1/articles/<id> — Una entidad
  • POST /api/v1/articles — Crear
  • PATCH /api/v1/articles/<id> — Actualización parcial
  • DELETE /api/v1/articles/<id> — Eliminación lógica
  • GET /api/v1/articles/<id>/timeline — Auditoría y actividades

Búsqueda