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

Sales Block Schema

ID du schéma
sales_block
Collection
sales_blocks
Autorisations
  • Liresales_block_view
  • Créersales_block_create
  • Modifiersales_block_edit
  • Supprimersales_block_delete

Champs

Sales Block Schema

sales_blocks4 autorisations

Reusable sales content for a product or service, shown in the digital quotation folder (ADR 1237)

titlestringobligatoire
1–200 caractères
promisestringfacultatif

One-sentence customer benefit

max. 400 caractèresPar défaut : nullnullable
languagestringfacultatif

Language of the texts; null = tenant default

deenesfrnlnull
nullable
isActivebooleanfacultatif
Par défaut : true
matchobjectfacultatif
Par défaut : {}
articleIdsuuid[]facultatif
max. 200 élémentsPar défaut : []
articleNumbersstring[]facultatif
max. 500 élémentsPar défaut : []
articleNumberPrefixesstring[]facultatif
max. 100 élémentsPar défaut : []
productIdsuuid[]facultatif
max. 100 élémentsPar défaut : []
weclappArticleCategoryIdsstring[]facultatif
max. 100 élémentsPar défaut : []
benefitsobject[]facultatif
max. 6 élémentsPar défaut : []
iconstringfacultatif
max. 40 caractèresPar défaut : nullnullable
titlestringobligatoire
1–120 caractères
textstringfacultatif
max. 400 caractèresPar défaut : nullnullable
featuresobject[]facultatif
max. 40 élémentsPar défaut : []
iduuidobligatoire
groupstringfacultatif
max. 60 caractèresPar défaut : nullnullable
iconstringfacultatif
max. 40 caractèresPar défaut : nullnullable
titlestringobligatoire
1–120 caractères
textstringfacultatif
max. 600 caractèresPar défaut : nullnullable
replacesHintstringfacultatif

What this replaces at the customer, e.g. "Einzellizenzen Virenschutz"

max. 200 caractèresPar défaut : nullnullable
hotspotobjectfacultatif
Par défaut : nullnullable
mediaobject[]facultatif
max. 20 élémentsPar défaut : []
iduuidobligatoire
kindstringobligatoire
IMAGEVIDEO_FILEVIDEO_LINK
fileIdstringfacultatif
MotifPar défaut : nullnullable
urlstringfacultatif

https link for VIDEO_LINK

max. 1000 caractèresPar défaut : nullnullable
captionstringfacultatif
max. 200 caractèresPar défaut : nullnullable
durationSecondsintegerfacultatif
0 – 36000Par défaut : nullnullable
isPrimarybooleanfacultatif
Par défaut : false
specsobject[]facultatif
max. 60 élémentsPar défaut : []
groupstringfacultatif
max. 60 caractèresPar défaut : nullnullable
labelstringobligatoire
1–80 caractères
valuestringobligatoire
1–300 caractères
documentsobject[]facultatif
max. 20 élémentsPar défaut : []
iduuidobligatoire
fileIduuidobligatoire
titlestringobligatoire
1–200 caractères
scopeobjectfacultatif
Par défaut : {}
includedstring[]facultatif
max. 30 élémentsPar défaut : []
excludedstring[]facultatif
max. 30 élémentsPar défaut : []
stepsobject[]facultatif
max. 12 élémentsPar défaut : []
titlestringobligatoire
1–120 caractères
textstringfacultatif
max. 400 caractèresPar défaut : nullnullable
offsetDaysintegerfacultatif
-365 – 365Par défaut : nullnullable
faqobject[]facultatif
max. 20 élémentsPar défaut : []
questionstringobligatoire
1–200 caractères
answerstringobligatoire
1–1500 caractères
promisesobject[]facultatif
max. 8 élémentsPar défaut : []
iduuidobligatoire
titlestringobligatoire
1–80 caractères
textstringfacultatif
max. 300 caractèresPar défaut : nullnullable
testimonialsobject[]facultatif
max. 10 élémentsPar défaut : []
iduuidobligatoire
quotestringobligatoire
1–600 caractères
rolestringobligatoire

Role only, never a person name

1–80 caractères
industrystringfacultatif
max. 80 caractèresPar défaut : nullnullable
seatsintegerfacultatif
1 – 100000Par défaut : nullnullable
yearintegerfacultatif
2000 – 2100Par défaut : nullnullable
ratingintegerfacultatif
1 – 5Par défaut : nullnullable
consentAtdatetimeobligatoire
consentFileIdstringfacultatif
MotifPar défaut : nullnullable
impactobjectfacultatif
Par défaut : {}
ticketCategoryIdsstring[]facultatif
max. 20 élémentsPar défaut : []
labelstringfacultatif

e.g. "Störungen rund um Geräte und Anmeldung"

max. 120 caractèresPar défaut : nullnullable
windowMonthsintegerfacultatif
1 – 12Par défaut : 6
compareobject[]facultatif
max. 10 élémentsPar défaut : []
labelstringobligatoire
1–80 caractères
assetFieldstringfacultatif

Asset field path for "today", e.g. "purchaseDate"

max. 80 caractèresPar défaut : nullnullable
newValuestringobligatoire
1–120 caractères
compareAssetTypesstring[]facultatif

Asset types (asset.schema) whose assets feed the "today" column of compare rows

max. 20 éléments
tagsstring[]facultatif
max. 20 élémentsPar défaut : []

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 filtrable
  • GET /api/v1/sales_blocks/<id> — Une entité
  • POST /api/v1/sales_blocks — Créer
  • PATCH /api/v1/sales_blocks/<id> — Mise à jour partielle
  • DELETE /api/v1/sales_blocks/<id> — Suppression logique
  • GET /api/v1/sales_blocks/<id>/timeline — Audit et activités

Recherche