API · v1 · stabil
CODEMETA OSDeveloper Center
DE
Konsole öffnen
Entity · sales_blocks

Sales Block Schema

Schema-ID
sales_block
Collection
sales_blocks
Permissions
  • Lesensales_block_view
  • Anlegensales_block_create
  • Ändernsales_block_edit
  • Löschensales_block_delete

Felder

Sales Block Schema

sales_blocks4 Permissions

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

titlestringerforderlich
1–200 Zeichen
promisestringoptional

One-sentence customer benefit

max 400 ZeichenDefault: nullnullable
languagestringoptional

Language of the texts; null = tenant default

deenesfrnlnull
nullable
isActivebooleanoptional
Default: true
matchobjectoptional
Default: {}
articleIdsuuid[]optional
max 200 ItemsDefault: []
articleNumbersstring[]optional
max 500 ItemsDefault: []
articleNumberPrefixesstring[]optional
max 100 ItemsDefault: []
productIdsuuid[]optional
max 100 ItemsDefault: []
weclappArticleCategoryIdsstring[]optional
max 100 ItemsDefault: []
benefitsobject[]optional
max 6 ItemsDefault: []
iconstringoptional
max 40 ZeichenDefault: nullnullable
titlestringerforderlich
1–120 Zeichen
textstringoptional
max 400 ZeichenDefault: nullnullable
featuresobject[]optional
max 40 ItemsDefault: []
iduuiderforderlich
groupstringoptional
max 60 ZeichenDefault: nullnullable
iconstringoptional
max 40 ZeichenDefault: nullnullable
titlestringerforderlich
1–120 Zeichen
textstringoptional
max 600 ZeichenDefault: nullnullable
replacesHintstringoptional

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

max 200 ZeichenDefault: nullnullable
hotspotobjectoptional
Default: nullnullable
mediaobject[]optional
max 20 ItemsDefault: []
iduuiderforderlich
kindstringerforderlich
IMAGEVIDEO_FILEVIDEO_LINK
fileIdstringoptional
PatternDefault: nullnullable
urlstringoptional

https link for VIDEO_LINK

max 1000 ZeichenDefault: nullnullable
captionstringoptional
max 200 ZeichenDefault: nullnullable
durationSecondsintegeroptional
0 – 36000Default: nullnullable
isPrimarybooleanoptional
Default: false
specsobject[]optional
max 60 ItemsDefault: []
groupstringoptional
max 60 ZeichenDefault: nullnullable
labelstringerforderlich
1–80 Zeichen
valuestringerforderlich
1–300 Zeichen
documentsobject[]optional
max 20 ItemsDefault: []
iduuiderforderlich
fileIduuiderforderlich
titlestringerforderlich
1–200 Zeichen
scopeobjectoptional
Default: {}
includedstring[]optional
max 30 ItemsDefault: []
excludedstring[]optional
max 30 ItemsDefault: []
stepsobject[]optional
max 12 ItemsDefault: []
titlestringerforderlich
1–120 Zeichen
textstringoptional
max 400 ZeichenDefault: nullnullable
offsetDaysintegeroptional
-365 – 365Default: nullnullable
faqobject[]optional
max 20 ItemsDefault: []
questionstringerforderlich
1–200 Zeichen
answerstringerforderlich
1–1500 Zeichen
promisesobject[]optional
max 8 ItemsDefault: []
iduuiderforderlich
titlestringerforderlich
1–80 Zeichen
textstringoptional
max 300 ZeichenDefault: nullnullable
testimonialsobject[]optional
max 10 ItemsDefault: []
iduuiderforderlich
quotestringerforderlich
1–600 Zeichen
rolestringerforderlich

Role only, never a person name

1–80 Zeichen
industrystringoptional
max 80 ZeichenDefault: nullnullable
seatsintegeroptional
1 – 100000Default: nullnullable
yearintegeroptional
2000 – 2100Default: nullnullable
ratingintegeroptional
1 – 5Default: nullnullable
consentAtdatetimeerforderlich
consentFileIdstringoptional
PatternDefault: nullnullable
impactobjectoptional
Default: {}
ticketCategoryIdsstring[]optional
max 20 ItemsDefault: []
labelstringoptional

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

max 120 ZeichenDefault: nullnullable
windowMonthsintegeroptional
1 – 12Default: 6
compareobject[]optional
max 10 ItemsDefault: []
labelstringerforderlich
1–80 Zeichen
assetFieldstringoptional

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

max 80 ZeichenDefault: nullnullable
newValuestringerforderlich
1–120 Zeichen
compareAssetTypesstring[]optional

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

max 20 Items
tagsstring[]optional
max 20 ItemsDefault: []

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/sales_blocks — Liste, paginiert + filterbar
  • GET /api/v1/sales_blocks/<id> — Einzelne Entity
  • POST /api/v1/sales_blocks — Anlegen
  • PATCH /api/v1/sales_blocks/<id> — Teil-Update
  • DELETE /api/v1/sales_blocks/<id> — Soft-Delete
  • GET /api/v1/sales_blocks/<id>/timeline — Audit + Aktivitäten

Suche