Party Product Schema
Champs
Party Product Schema
Schema for tracking which products/services a customer (party) is using
partyId
Customer party UUID
productId
Product UUID
articleId
Specific article (optional, for granular tracking)
status
Current status of this product assignment
ACTIVETRIALPENDINGCHURNEDPAUSEDmonthlyRevenue
Monthly recurring revenue for this product (Decimal128 as string)
billingInterval
Billing interval
MONTHLYQUARTERLYSEMI_ANNUALYEARLYquantity
Number of seats / licenses / units
contractStart
Contract start date (YYYY-MM-DD)
contractEnd
Contract end date (YYYY-MM-DD)
contractId
Linked contract UUID
churnProbability
Churn probability in percent (0 = very sticky, 100 = will churn)
churnReason
Reason / risk factors for potential churn
churnRiskLevel
Churn risk classification
LOWMEDIUMHIGHCRITICALlastReviewedAt
Last time churn risk was reviewed
firstInvoiceAt
Date of the first invoice that referenced this article (YYYY-MM-DD)
lastInvoiceAt
Date of the most recent invoice that referenced this article
lastInvoiceId
Most recent invoice UUID
lifetimeRevenue
Total net revenue from this article across all invoices
invoiceCount
Number of invoices billing this article
notes
Internal notes
tags
Tags
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/party_products— Liste, paginée et filtrableGET /api/v1/party_products/<id>— Une entitéPOST /api/v1/party_products— CréerPATCH /api/v1/party_products/<id>— Mise à jour partielleDELETE /api/v1/party_products/<id>— Suppression logiqueGET /api/v1/party_products/<id>/timeline— Audit et activités