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

Product Schema

Schema-ID
product
Collection
products
Permissions
  • Lezenproduct_view
  • Aanmakenproduct_create
  • Wijzigenproduct_edit
  • Verwijderenproduct_delete

Velden

Product Schema

products4 permissions

Schema for validating product entities (product portfolio items)

namestringvereist

Product name

1–300 tekens
descriptionstringoptioneel

Product description (plain text). SSoT for the long marketing text shown in the customer-portal shop across all linked articles. See ADR 0094c.

max. 4000 tekensnullable
descriptionHtmlstringoptioneel

Rich text HTML description — SSoT for the cluster-wide marketing description shown in the customer-portal shop for all linked articles. See ADR 0094c.

nullable
productCategoryIduuidoptioneel

Product category UUID

nullable
manufacturerstringoptioneel

Manufacturer or vendor name (e.g. "Microsoft", "Acronis"). SSoT — articles fall back to this when their own manufacturer is empty; articles may override for OEM cases (see ADR 0094a).

max. 200 tekensnullable
compatDeviceKeystringoptioneel

Link to the PBX compatibility catalogue (compat_device.deviceKey). Sits on the PRODUCT because compatibility is a property of the device MODEL, not of a single SKU — the article may override it for OEM cases. Confirmed by a human, never derived from the article name (ADR 0939).

max. 200 tekensnullable
websitestringoptioneel

Product or manufacturer website URL

max. 500 tekensnullable
logoS3Keystringoptioneel

Product logo S3 key

nullable
imageFileIdsuuid[]optioneel

Image file IDs (resolved via /api/v1/files/{fileId}/download-url). SSoT for the cluster gallery — Index 0 is the main image. Articles may override per-variant via article.imageFileIds (see ADR 0094a).

Default: []
attachmentFileIdsuuid[]optioneel

Loose non-image attachments — primary source for the customer-portal Downloads tab. Variant-specific attachments live on article.attachmentFileIds and appear in a separate section. For richer metadata (category, visibility, version) use the documents field instead. See ADR 0094a.

Default: []
tagsstring[]optioneel

Tags for categorization

Default: []
isActivebooleanoptioneel

Whether this product is active

Default: true
sortOrderintegeroptioneel

Display sort order

≥ 0Default: 0
internalNotestringoptioneel

Internal note (not visible to customers)

max. 4000 tekensnullable
matchingKeywordsstring[]optioneel

Keywords for AI-based article-to-product matching (e.g. "m365", "office 365")

Default: []
articleCountintegeroptioneel

Number of articles assigned to this product (cached)

≥ 0Default: 0read-only
priceRangeobjectoptioneel

Price range across assigned articles (cached)

read-onlynullable
minstringoptioneel

Lowest article price

Pattern
maxstringoptioneel

Highest article price

Pattern
infoPagesobject[]optioneel

Product info pages with rich content for proposals and customer portal

Default: []
iduuidvereist
titlestringvereist
1–300 tekens
slugstringoptioneel
max. 200 tekensnullable
contentHtmlstringoptioneel
nullable
sortOrderintegeroptioneel
≥ 0Default: 0
isPublishedbooleanoptioneel
Default: false
featuresobject[]optioneel

Lieferumfang positions: what is included in the product delivery

Default: []
namestringvereist
1–200 tekens
descriptionstringoptioneel
max. 500 tekensnullable
iconstringoptioneel
max. 100 tekensnullable
includedbooleanoptioneel
Default: true
qtyintegeroptioneel

Quantity per delivery (e.g. "2 × Akku") — null means unspecified

1 – 999nullable
documentsobject[]optioneel

Datasheets, manuals, certificates etc. — reference files via fileId. SSoT for cluster-wide structured documents shown in the customer-portal Downloads tab. Richer per-file metadata than attachmentFileIds (category, visibility, version, download counter). Variant-specific files belong on article.attachmentFileIds. See ADR 0094a.

Default: []
iduuidvereist
fileIduuidvereist
titlestringvereist
1–300 tekens
categorystringoptioneel
datasheetmanualsafetycertificatemarketingother
Default: "other"
visibilitystringoptioneel
internalcustomers
Default: "customers"
versionstringoptioneel
max. 50 tekensread-onlynullable
languagestringoptioneel
max. 10 tekensDefault: "de"
sizeBytesintegeroptioneel
≥ 0nullable
mimeTypestringoptioneel
max. 200 tekensnullable
downloadsintegeroptioneel
≥ 0Default: 0
uploadedBystringoptioneel
max. 200 tekensnullable
uploadedAtdatetimeoptioneel
nullable
technicalSpecsobject[]optioneel

Technical specifications organized by group (e.g. "Performance" → "RAM" / "16 GB"). SSoT for the cluster — variant-specific values belong in article.attributes. See ADR 0094a.

Default: []
groupstringvereist
1–100 tekens
keystringvereist
1–100 tekens
valuestringvereist
max. 500 tekens
pricingCalculatorConfigobjectoptioneel

Pricing calculator configuration

nullable
enabledbooleanoptioneel
Default: false
basisPricestringoptioneel

Listenpreis (Basis) for the calculator KPI strip

Patternnullable
marginnumberoptioneel

Marge in percent (0–100) — informational only, not applied to formula

0 – 100nullable
discountTiersobject[]optioneel

Volume discount tiers — quantity-band × multiplicative factor

Default: []
fromintegervereist

Minimum quantity (inclusive)

≥ 1
tointegeroptioneel

Maximum quantity (inclusive); null means open-ended

≥ 1nullable
factornumbervereist

Multiplier on basisPrice (e.g. 0.95 for 5% volume discount)

0 – 2
labelstringoptioneel
max. 200 tekensnullable
surchargesobject[]optioneel

Additive surcharges (express, weekend, on-site) — percent or absolute

Default: []
titlestringvereist
1–200 tekens
kindstringvereist
PERCENTABSOLUTE
valuenumbervereist
formulastringoptioneel

Pricing formula expression (e.g. "basePrice * users")

max. 500 tekensnullable
variablesobject[]optioneel

Variables for the pricing calculator (legacy formula model)

Default: []
keystringvereist
max. 50 tekens
labelstringvereist
max. 200 tekens
typestringvereist
numberselect
defaultValuestringoptioneel
nullable
minnumberoptioneel
nullable
maxnumberoptioneel
nullable
optionsobject[]optioneel
nullable
labelstringoptioneel
valuestringoptioneel
tiersobject[]optioneel

Volume pricing tiers (legacy — see discountTiers for the simpler factor-based model)

Default: []
minQuantityintegervereist
≥ 0
pricePerUnitstringvereist
Pattern
labelstringoptioneel
max. 200 tekensnullable
mediaobject[]optioneel

Product media gallery (images, videos, documents, brochures)

Default: []
idstringvereist
typestringvereist
IMAGEVIDEODOCUMENTBROCHURE
titlestringvereist
max. 300 tekens
urlstringoptioneel
Default: nullnullable
s3Keystringoptioneel
Default: nullnullable
mimeTypestringoptioneel
Default: nullnullable
thumbnailS3Keystringoptioneel
Default: nullnullable
sortOrderintegeroptioneel
≥ 0Default: 0
isPublishedbooleanoptioneel
Default: false
demoConfigobjectoptioneel

Demo booking configuration

Default: nullnullable
testimonialsobject[]optioneel

Customer testimonials / case studies

Default: []
idstringvereist
quotestringvereist
max. 2000 tekens
authorNamestringvereist
max. 200 tekens
authorTitlestringoptioneel
max. 200 tekensDefault: nullnullable
authorCompanystringoptioneel
max. 200 tekensDefault: nullnullable
logoS3Keystringoptioneel
Default: nullnullable
sortOrderintegeroptioneel
≥ 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/products — Lijst, gepagineerd + filterbaar
  • GET /api/v1/products/<id> — Enkele entity
  • POST /api/v1/products — Aanmaken
  • PATCH /api/v1/products/<id> — Gedeeltelijke update
  • DELETE /api/v1/products/<id> — Soft-delete
  • GET /api/v1/products/<id>/timeline — Audit + activiteiten

Zoeken