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

Party Product Schema

Schema-ID
party_product
Collection
party_products
Permissions
  • Lezenparty_product_view
  • Aanmakenparty_product_create
  • Wijzigenparty_product_edit
  • Verwijderenparty_product_delete

Velden

Party Product Schema

party_products4 permissions

Schema for tracking which products/services a customer (party) is using

partyIduuidvereist

Customer party UUID

productIduuidvereist

Product UUID

articleIduuidoptioneel

Specific article (optional, for granular tracking)

nullable
statusstringvereist

Current status of this product assignment

ACTIVETRIALPENDINGCHURNEDPAUSED
monthlyRevenuestringoptioneel

Monthly recurring revenue for this product (Decimal128 as string)

Patternnullable
billingIntervalstringoptioneel

Billing interval

MONTHLYQUARTERLYSEMI_ANNUALYEARLY
nullable
quantitynumberoptioneel

Number of seats / licenses / units

≥ 1nullable
contractStartdateoptioneel

Contract start date (YYYY-MM-DD)

nullable
contractEnddateoptioneel

Contract end date (YYYY-MM-DD)

nullable
contractIduuidoptioneel

Linked contract UUID

nullable
churnProbabilitynumberoptioneel

Churn probability in percent (0 = very sticky, 100 = will churn)

0 – 100nullable
churnReasonstringoptioneel

Reason / risk factors for potential churn

max. 2000 tekensnullable
churnRiskLevelstringoptioneel

Churn risk classification

LOWMEDIUMHIGHCRITICAL
nullable
lastReviewedAtdatetimeoptioneel

Last time churn risk was reviewed

nullable
firstInvoiceAtdateoptioneel

Date of the first invoice that referenced this article (YYYY-MM-DD)

nullable
lastInvoiceAtdateoptioneel

Date of the most recent invoice that referenced this article

nullable
lastInvoiceIduuidoptioneel

Most recent invoice UUID

nullable
lifetimeRevenuestringoptioneel

Total net revenue from this article across all invoices

Patternnullable
invoiceCountintegeroptioneel

Number of invoices billing this article

≥ 0nullable
notesstringoptioneel

Internal notes

max. 4000 tekensnullable
tagsstring[]optioneel

Tags

Default: []nullable

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

Zoeken