Product Review Schema
Velden
Product Review Schema
Customer-submitted product review with rating and free-text comment, displayed on the customer-portal article detail page.
articleId
FK to articles._id — the reviewed product.
rating
Star rating 1–5.
title
Optional short headline for the review.
text
Free-text review body (plain text).
authorPartyId
PERSON party of the review author. Set automatically from the user’s linked person on submit.
authorName
Denormalised display name (first name + initial of surname). Stored at submit time so it stays stable when the user record changes.
authorOrgPartyId
Optional ORG party of the author (the customer organisation they belong to).
verified
true if the author actually placed an order containing this article (set by the backend on submit).
Geen velden komen overeen met het filter.
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/product_reviews— Lijst, gepagineerd + filterbaarGET /api/v1/product_reviews/<id>— Enkele entityPOST /api/v1/product_reviews— AanmakenPATCH /api/v1/product_reviews/<id>— Gedeeltelijke updateDELETE /api/v1/product_reviews/<id>— Soft-deleteGET /api/v1/product_reviews/<id>/timeline— Audit + activiteiten