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

Product Review Schema

Schema-ID
product_review
Collection
product_reviews
Permissions
  • Lezenproduct_review_view
  • Aanmakenproduct_review_create
  • Wijzigenproduct_review_edit
  • Verwijderenproduct_review_delete

Velden

Product Review Schema

product_reviews4 permissions

Customer-submitted product review with rating and free-text comment, displayed on the customer-portal article detail page.

articleIduuidvereist

FK to articles._id — the reviewed product.

ratingintegervereist

Star rating 1–5.

1 – 5
titlestringoptioneel

Optional short headline for the review.

max. 200 tekensDefault: nullnullable
textstringoptioneel

Free-text review body (plain text).

max. 4000 tekensDefault: nullnullable
authorPartyIdstringoptioneel

PERSON party of the review author. Set automatically from the user’s linked person on submit.

PatternDefault: nullread-onlynullable
authorNamestringoptioneel

Denormalised display name (first name + initial of surname). Stored at submit time so it stays stable when the user record changes.

max. 200 tekensDefault: nullnullable
authorOrgPartyIdstringoptioneel

Optional ORG party of the author (the customer organisation they belong to).

PatternDefault: nullread-onlynullable
verifiedbooleanoptioneel

true if the author actually placed an order containing this article (set by the backend on submit).

Default: falseread-only

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

Zoeken