Delete a comment
/products/{product_id}/comments/{comment_id}Deletes a top-level comment together with all of its replies.
To remove a single reply while keeping the rest of the conversation, use the delete reply operation.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Path Parameters
Public ID of the product, prefixed with prd_.
Public ID of the comment, prefixed with cmt_.
Header Parameters
Client-generated key that makes the request safe to retry. Must be 1 to 128 characters from [A-Za-z0-9._:-]. Optional on this operation; when sent, a malformed key returns idempotency_key_invalid, and repeating the request with the same key and the same body returns the stored result with Idempotent-Replayed: true.
Optional client-generated identifier of the request, up to 64 characters from [A-Za-z0-9._-]. Echoed back in the response and recorded in the request log; it never replaces the server-generated X-Request-Id.
length <= 64Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/products/string/comments/string"Update a comment PATCH
Moderates or pins a top-level comment. Only `status` and `pinned` can be changed; the comment text cannot be edited. Changing `status` requires the `comments.moderate` permission, and changing `pinned` requires the `comments.pin` permission. The retrieve operation returns an `ETag` representing the current revision. Send this value in the optional `If-Match` header to avoid overwriting a newer version; if the comment has changed since that revision, the update is rejected.
List comment replies GET
Lists the replies to a top-level comment in chronological order.