Create product_review
POST/v1/product_reviews
Create a new product_review in the active tenant.
Data model
This operation works on the entity Product Review (product_review). All 8 fields — type, validation, required status, relationships — are listed in the schema reference.
-
Required fields:
articleId,rating -
Server-managed:
_id,schema,schemaVersion,tenantId,version,createdAt,updatedAt,createdBy,updatedBy,deletedAt,deletedBy,verified,authorPartyId,authorOrgPartyId— the platform assigns these fields; they are discarded in the request.
Example
curl -X POST https://api.codemeta-os.de/v1/product_reviews \
-H "X-Tenant-Id: $TENANT" \
-b cookies.txtconst result = await cm.product_reviews.post();Response codes
| HTTP | Meaning |
|---|---|
200 |
Default Response |