Entité · sales_blocks
Sales Block Schema
Champs
Sales Block Schema
Reusable sales content for a product or service, shown in the digital quotation folder (ADR 1237)
title
1–200 caractères
promise
One-sentence customer benefit
max. 400 caractèresPar défaut : nullnullable
language
Language of the texts; null = tenant default
Valeurs
deenesfrnlnullnullable
isActive
Par défaut : true
match
Par défaut : {}
articleIds
max. 200 élémentsPar défaut : []
articleNumbers
max. 500 élémentsPar défaut : []
articleNumberPrefixes
max. 100 élémentsPar défaut : []
productIds
max. 100 élémentsPar défaut : []
weclappArticleCategoryIds
max. 100 élémentsPar défaut : []
features
max. 40 élémentsPar défaut : []
group
max. 60 caractèresPar défaut : nullnullable
icon
max. 40 caractèresPar défaut : nullnullable
title
1–120 caractères
text
max. 600 caractèresPar défaut : nullnullable
replacesHint
What this replaces at the customer, e.g. "Einzellizenzen Virenschutz"
max. 200 caractèresPar défaut : nullnullable
hotspot
Par défaut : nullnullable
media
max. 20 élémentsPar défaut : []
steps
max. 12 élémentsPar défaut : []
title
1–120 caractères
text
max. 400 caractèresPar défaut : nullnullable
offsetDays
-365 – 365Par défaut : nullnullable
testimonials
max. 10 élémentsPar défaut : []
impact
Par défaut : {}
ticketCategoryIds
max. 20 élémentsPar défaut : []
label
e.g. "Störungen rund um Geräte und Anmeldung"
max. 120 caractèresPar défaut : nullnullable
windowMonths
1 – 12Par défaut : 6
compare
max. 10 élémentsPar défaut : []
label
1–80 caractères
assetField
Asset field path for "today", e.g. "purchaseDate"
max. 80 caractèresPar défaut : nullnullable
newValue
1–120 caractères
compareAssetTypes
Asset types (asset.schema) whose assets feed the "today" column of compare rows
max. 20 éléments
tags
max. 20 élémentsPar défaut : []
Aucun champ ne correspond au filtre.
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/sales_blocks— Liste, paginée et filtrableGET /api/v1/sales_blocks/<id>— Une entitéPOST /api/v1/sales_blocks— CréerPATCH /api/v1/sales_blocks/<id>— Mise à jour partielleDELETE /api/v1/sales_blocks/<id>— Suppression logiqueGET /api/v1/sales_blocks/<id>/timeline— Audit et activités