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

Parameters: reject_review
NameTypeDescription
review_id string required string review_id from list_reviews.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/okendo/reviews/review_8c41d2/reject \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("okendo", "reject_review", {"review_id":"review_8c41d2"})
Node.js
const result = await cotlet.call('okendo', 'reject_review', {"review_id":"review_8c41d2"});
CLI
cotlet call okendo reject_review --data '{"review_id":"review_8c41d2"}'

Example response

JSON

{
  "review_id": "rev_7d20e3",
  "status": "rejected"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.