Reply to a review

Reply to a review publicly, by private email, or as an internal note.

POST https://cotlet.dev/api/v1/okendo/reviews/{review_id}/replies

write Confirm

Saves a reply in the reply editor with its two checkboxes. visible_to_shoppers puts the reply on your storefront and in the admin. email_reviewer emails a copy to the customer, and alone it makes the reply private. With both off the reply stays in the admin as an internal note, marked with a padlock. The tool cannot edit or delete a reply. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reply_to_review
NameTypeDescription
review_id string required string review_id from list_reviews.
body string required string The reply text.
visible_to_shoppers boolean boolean Show the reply on your storefront. Default: false.
email_reviewer boolean boolean Email a copy to the reviewer. Default: false.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/okendo/reviews/rev_4a91c7/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Thank you, Lena! Glad the tote fits so well. Tip: it runs true to size in the larger bag too.","visible_to_shoppers":true,"email_reviewer":true}'
Python
result = client.call("okendo", "reply_to_review", {"review_id":"rev_4a91c7","body":"Thank you, Lena! Glad the tote fits so well. Tip: it runs True to size in the larger bag too.","visible_to_shoppers":True,"email_reviewer":True})
Node.js
const result = await cotlet.call('okendo', 'reply_to_review', {"review_id":"rev_4a91c7","body":"Thank you, Lena! Glad the tote fits so well. Tip: it runs true to size in the larger bag too.","visible_to_shoppers":true,"email_reviewer":true});
CLI
cotlet call okendo reply_to_review --data '{"review_id":"rev_4a91c7","body":"Thank you, Lena! Glad the tote fits so well. Tip: it runs true to size in the larger bag too.","visible_to_shoppers":true,"email_reviewer":true}'

Example response

JSON

{
  "review_id": "rev_7d20e3",
  "reply_saved": true,
  "visible_to_shoppers": false,
  "email_reviewer": true
}

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.