Reject a review
Reject a review so it stays off your storefront.
POST https://cotlet.dev/api/v1/okendo/reviews/{review_id}/reject
write Confirm
Clicks Reject on the review's toolbar in Reviews > Moderation and returns the new status. Okendo has no delete: a rejected review stays in the Rejected list. The customer is not told, and cannot edit the review, so a customer who wants a change needs a new link to write another review. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| review_id string required | string | review_id from list_reviews. |
Request
curl -X POST https://cotlet.dev/api/v1/okendo/reviews/review_8c41d2/reject \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("okendo", "reject_review", {"review_id":"review_8c41d2"}) const result = await cotlet.call('okendo', 'reject_review', {"review_id":"review_8c41d2"}); cotlet call okendo reject_review --data '{"review_id":"review_8c41d2"}' Example response
{
"review_id": "rev_7d20e3",
"status": "rejected"
}