Hide a review
Hides a review from the storefront with one of Judge.me's hide reasons.
POST https://cotlet.dev/api/v1/judge-me/reviews/{review_id}/hide
Hides the review, which stays in the Reviews dashboard but stops counting toward the average rating and the review count. It can take up to 5 minutes to leave the storefront. Reviews from the Shop app cannot be hidden, and hiding a verified review may lower your Transparency level. The reviewer is not told and publish_review undoes it, so it does not wait for your OK. Hidden reviews cannot be deleted; only imported reviews can.
Parameters
| Name | Type | Description |
|---|---|---|
| review_id integer required | integer | Review ID from list_reviews or get_review. |
| reason enum required | enum | fake, duplicated, spam, unrelated, legal, inappropriate_language, foreign_language, private_information or other. These are the Hide review reasons in the dashboard. |
Request
curl -X POST https://cotlet.dev/api/v1/judge-me/reviews/48199021/hide \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"reason":"spam"}' result = client.call("judge-me", "hide_review", {"review_id":48199021,"reason":"spam"}) const result = await cotlet.call('judge-me', 'hide_review', {"review_id":48199021,"reason":"spam"}); cotlet call judge-me hide_review --data '{"review_id":48199021,"reason":"spam"}' Example response
{
"review_id": 48199021,
"status": "hidden",
"reason": "spam"
}