novinzodevelopers
Your store's APIApps referenceReviews

Set Review Status

PUT/admin/reviews/{reviewId}/status

Publishes a review on the storefront or hides it from there. A "hidden" review stays on the dashboard only and leaves its product's rating; publishing it again puts it back in.

Path Parameters

reviewId*string
Match^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

status*string

Value in

  • "published"
  • "hidden"

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/admin/reviews/string/status" \  -H "Content-Type: application/json" \  -d '{    "status": "published"  }'
{  "id": "string",  "productId": "string",  "productVariantId": "string",  "productName": "string",  "variantName": "string",  "orderId": "string",  "orderItemId": "string",  "customerId": "string",  "customerEmail": "string",  "rating": 1,  "message": "string",  "reply": "string",  "repliedAt": "string",  "status": "published",  "source": "buyer",  "automatic": true,  "createdAt": "string"}