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

Sales Block Schema

Schema-ID
sales_block
Collection
sales_blocks
Permissions
  • Lezensales_block_view
  • Aanmakensales_block_create
  • Wijzigensales_block_edit
  • Verwijderensales_block_delete

Velden

Sales Block Schema

sales_blocks4 permissions

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

titlestringvereist
1–200 tekens
promisestringoptioneel

One-sentence customer benefit

max. 400 tekensDefault: nullnullable
languagestringoptioneel

Language of the texts; null = tenant default

deenesfrnlnull
nullable
isActivebooleanoptioneel
Default: true
matchobjectoptioneel
Default: {}
articleIdsuuid[]optioneel
max. 200 itemsDefault: []
articleNumbersstring[]optioneel
max. 500 itemsDefault: []
articleNumberPrefixesstring[]optioneel
max. 100 itemsDefault: []
productIdsuuid[]optioneel
max. 100 itemsDefault: []
weclappArticleCategoryIdsstring[]optioneel
max. 100 itemsDefault: []
benefitsobject[]optioneel
max. 6 itemsDefault: []
iconstringoptioneel
max. 40 tekensDefault: nullnullable
titlestringvereist
1–120 tekens
textstringoptioneel
max. 400 tekensDefault: nullnullable
featuresobject[]optioneel
max. 40 itemsDefault: []
iduuidvereist
groupstringoptioneel
max. 60 tekensDefault: nullnullable
iconstringoptioneel
max. 40 tekensDefault: nullnullable
titlestringvereist
1–120 tekens
textstringoptioneel
max. 600 tekensDefault: nullnullable
replacesHintstringoptioneel

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

max. 200 tekensDefault: nullnullable
hotspotobjectoptioneel
Default: nullnullable
mediaobject[]optioneel
max. 20 itemsDefault: []
iduuidvereist
kindstringvereist
IMAGEVIDEO_FILEVIDEO_LINK
fileIdstringoptioneel
PatternDefault: nullnullable
urlstringoptioneel

https link for VIDEO_LINK

max. 1000 tekensDefault: nullnullable
captionstringoptioneel
max. 200 tekensDefault: nullnullable
durationSecondsintegeroptioneel
0 – 36000Default: nullnullable
isPrimarybooleanoptioneel
Default: false
specsobject[]optioneel
max. 60 itemsDefault: []
groupstringoptioneel
max. 60 tekensDefault: nullnullable
labelstringvereist
1–80 tekens
valuestringvereist
1–300 tekens
documentsobject[]optioneel
max. 20 itemsDefault: []
iduuidvereist
fileIduuidvereist
titlestringvereist
1–200 tekens
scopeobjectoptioneel
Default: {}
includedstring[]optioneel
max. 30 itemsDefault: []
excludedstring[]optioneel
max. 30 itemsDefault: []
stepsobject[]optioneel
max. 12 itemsDefault: []
titlestringvereist
1–120 tekens
textstringoptioneel
max. 400 tekensDefault: nullnullable
offsetDaysintegeroptioneel
-365 – 365Default: nullnullable
faqobject[]optioneel
max. 20 itemsDefault: []
questionstringvereist
1–200 tekens
answerstringvereist
1–1500 tekens
promisesobject[]optioneel
max. 8 itemsDefault: []
iduuidvereist
titlestringvereist
1–80 tekens
textstringoptioneel
max. 300 tekensDefault: nullnullable
testimonialsobject[]optioneel
max. 10 itemsDefault: []
iduuidvereist
quotestringvereist
1–600 tekens
rolestringvereist

Role only, never a person name

1–80 tekens
industrystringoptioneel
max. 80 tekensDefault: nullnullable
seatsintegeroptioneel
1 – 100000Default: nullnullable
yearintegeroptioneel
2000 – 2100Default: nullnullable
ratingintegeroptioneel
1 – 5Default: nullnullable
consentAtdatetimevereist
consentFileIdstringoptioneel
PatternDefault: nullnullable
impactobjectoptioneel
Default: {}
ticketCategoryIdsstring[]optioneel
max. 20 itemsDefault: []
labelstringoptioneel

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

max. 120 tekensDefault: nullnullable
windowMonthsintegeroptioneel
1 – 12Default: 6
compareobject[]optioneel
max. 10 itemsDefault: []
labelstringvereist
1–80 tekens
assetFieldstringoptioneel

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

max. 80 tekensDefault: nullnullable
newValuestringvereist
1–120 tekens
compareAssetTypesstring[]optioneel

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

max. 20 items
tagsstring[]optioneel
max. 20 itemsDefault: []

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/sales_blocks — Lijst, gepagineerd + filterbaar
  • GET /api/v1/sales_blocks/<id> — Enkele entity
  • POST /api/v1/sales_blocks — Aanmaken
  • PATCH /api/v1/sales_blocks/<id> — Gedeeltelijke update
  • DELETE /api/v1/sales_blocks/<id> — Soft-delete
  • GET /api/v1/sales_blocks/<id>/timeline — Audit + activiteiten

Zoeken