Update a comment reply
/products/{product_id}/comments/{comment_id}/replies/{reply_id}Updates the text or the moderation status of a comment reply.
Only the text of replies written by an administrator or an API credential (author.kind is admin or credential) can be changed; attempts to edit the text of any other reply return 403 Forbidden. Changing status requires the comments.moderate permission.
To avoid overwriting a newer version, send the reply's current revision in the optional If-Match header. If the reply has changed since that revision, the update is rejected.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/products/string/comments/string/replies/string" \ -H "Content-Type: application/json" \ -d '{}'Create a comment reply POST
Adds a reply to a top-level comment. Replies created through the API are attributed to the credential that made the request (`author.kind` is `credential`).
Delete a comment reply DELETE
Deletes a single reply from a comment. The top-level comment and its other replies are not affected. Only replies written by an administrator or an API credential (`author.kind` is `admin` or `credential`) can be deleted. Attempts to delete any other reply return `403 Forbidden`. To remove the entire conversation, delete the top-level comment instead.