Viewrium Docs
HTTP referenceProducts

Review a product

POST/v1/products/{id}/review

Applies several review decisions at once - image decisions and settings, the model's decision and the product's status. All are validated before any is applied. It records decisions only; the finished images come from the export. 400 for a decision back to pending, or on an image or model that is not ready.

Path Parameters

id*Id

The product's id.

Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Review decisions to apply together: the product's status, image decisions and settings, and the model's decision. All are validated before any is applied.

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/review" \  -H "Content-Type: application/json" \  -d '{}'
{  "product_id": "0d012afa-f885-4e65-aeca-37e27701e2d1",  "applied": 0,  "display_status": "published"}
{  "error": {    "code": "string",    "message": "string",    "details": null  }}