Product Review Schema
Campos
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).
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/product_reviews— Lista, paginada y filtrableGET /api/v1/product_reviews/<id>— Una entidadPOST /api/v1/product_reviews— CrearPATCH /api/v1/product_reviews/<id>— Actualización parcialDELETE /api/v1/product_reviews/<id>— Eliminación lógicaGET /api/v1/product_reviews/<id>/timeline— Auditoría y actividades