API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · products

Product Schema

ID du schéma
product
Collection
products
Autorisations
  • Lireproduct_view
  • Créerproduct_create
  • Modifierproduct_edit
  • Supprimerproduct_delete

Champs

Product Schema

products4 autorisations

Schema for validating product entities (product portfolio items)

namestringobligatoire

Product name

1–300 caractères
descriptionstringfacultatif

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 caractèresnullable
descriptionHtmlstringfacultatif

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
productCategoryIduuidfacultatif

Product category UUID

nullable
manufacturerstringfacultatif

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 caractèresnullable
compatDeviceKeystringfacultatif

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 caractèresnullable
websitestringfacultatif

Product or manufacturer website URL

max. 500 caractèresnullable
logoS3Keystringfacultatif

Product logo S3 key

nullable
imageFileIdsuuid[]facultatif

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

Par défaut : []
attachmentFileIdsuuid[]facultatif

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.

Par défaut : []
tagsstring[]facultatif

Tags for categorization

Par défaut : []
isActivebooleanfacultatif

Whether this product is active

Par défaut : true
sortOrderintegerfacultatif

Display sort order

≥ 0Par défaut : 0
internalNotestringfacultatif

Internal note (not visible to customers)

max. 4000 caractèresnullable
matchingKeywordsstring[]facultatif

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

Par défaut : []
articleCountintegerfacultatif

Number of articles assigned to this product (cached)

≥ 0Par défaut : 0lecture seule
priceRangeobjectfacultatif

Price range across assigned articles (cached)

lecture seulenullable
minstringfacultatif

Lowest article price

Motif
maxstringfacultatif

Highest article price

Motif
infoPagesobject[]facultatif

Product info pages with rich content for proposals and customer portal

Par défaut : []
iduuidobligatoire
titlestringobligatoire
1–300 caractères
slugstringfacultatif
max. 200 caractèresnullable
contentHtmlstringfacultatif
nullable
sortOrderintegerfacultatif
≥ 0Par défaut : 0
isPublishedbooleanfacultatif
Par défaut : false
featuresobject[]facultatif

Lieferumfang positions: what is included in the product delivery

Par défaut : []
namestringobligatoire
1–200 caractères
descriptionstringfacultatif
max. 500 caractèresnullable
iconstringfacultatif
max. 100 caractèresnullable
includedbooleanfacultatif
Par défaut : true
qtyintegerfacultatif

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

1 – 999nullable
documentsobject[]facultatif

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.

Par défaut : []
iduuidobligatoire
fileIduuidobligatoire
titlestringobligatoire
1–300 caractères
categorystringfacultatif
datasheetmanualsafetycertificatemarketingother
Par défaut : "other"
visibilitystringfacultatif
internalcustomers
Par défaut : "customers"
versionstringfacultatif
max. 50 caractèreslecture seulenullable
languagestringfacultatif
max. 10 caractèresPar défaut : "de"
sizeBytesintegerfacultatif
≥ 0nullable
mimeTypestringfacultatif
max. 200 caractèresnullable
downloadsintegerfacultatif
≥ 0Par défaut : 0
uploadedBystringfacultatif
max. 200 caractèresnullable
uploadedAtdatetimefacultatif
nullable
technicalSpecsobject[]facultatif

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.

Par défaut : []
groupstringobligatoire
1–100 caractères
keystringobligatoire
1–100 caractères
valuestringobligatoire
max. 500 caractères
pricingCalculatorConfigobjectfacultatif

Pricing calculator configuration

nullable
enabledbooleanfacultatif
Par défaut : false
basisPricestringfacultatif

Listenpreis (Basis) for the calculator KPI strip

Motifnullable
marginnumberfacultatif

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

0 – 100nullable
discountTiersobject[]facultatif

Volume discount tiers — quantity-band × multiplicative factor

Par défaut : []
fromintegerobligatoire

Minimum quantity (inclusive)

≥ 1
tointegerfacultatif

Maximum quantity (inclusive); null means open-ended

≥ 1nullable
factornumberobligatoire

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

0 – 2
labelstringfacultatif
max. 200 caractèresnullable
surchargesobject[]facultatif

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

Par défaut : []
titlestringobligatoire
1–200 caractères
kindstringobligatoire
PERCENTABSOLUTE
valuenumberobligatoire
formulastringfacultatif

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

max. 500 caractèresnullable
variablesobject[]facultatif

Variables for the pricing calculator (legacy formula model)

Par défaut : []
keystringobligatoire
max. 50 caractères
labelstringobligatoire
max. 200 caractères
typestringobligatoire
numberselect
defaultValuestringfacultatif
nullable
minnumberfacultatif
nullable
maxnumberfacultatif
nullable
optionsobject[]facultatif
nullable
labelstringfacultatif
valuestringfacultatif
tiersobject[]facultatif

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

Par défaut : []
minQuantityintegerobligatoire
≥ 0
pricePerUnitstringobligatoire
Motif
labelstringfacultatif
max. 200 caractèresnullable
mediaobject[]facultatif

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

Par défaut : []
idstringobligatoire
typestringobligatoire
IMAGEVIDEODOCUMENTBROCHURE
titlestringobligatoire
max. 300 caractères
urlstringfacultatif
Par défaut : nullnullable
s3Keystringfacultatif
Par défaut : nullnullable
mimeTypestringfacultatif
Par défaut : nullnullable
thumbnailS3Keystringfacultatif
Par défaut : nullnullable
sortOrderintegerfacultatif
≥ 0Par défaut : 0
isPublishedbooleanfacultatif
Par défaut : false
demoConfigobjectfacultatif

Demo booking configuration

Par défaut : nullnullable
testimonialsobject[]facultatif

Customer testimonials / case studies

Par défaut : []
idstringobligatoire
quotestringobligatoire
max. 2000 caractères
authorNamestringobligatoire
max. 200 caractères
authorTitlestringfacultatif
max. 200 caractèresPar défaut : nullnullable
authorCompanystringfacultatif
max. 200 caractèresPar défaut : nullnullable
logoS3Keystringfacultatif
Par défaut : nullnullable
sortOrderintegerfacultatif
≥ 0Par défaut : 0

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/products — Liste, paginée et filtrable
  • GET /api/v1/products/<id> — Une entité
  • POST /api/v1/products — Créer
  • PATCH /api/v1/products/<id> — Mise à jour partielle
  • DELETE /api/v1/products/<id> — Suppression logique
  • GET /api/v1/products/<id>/timeline — Audit et activités

Recherche