Update a comment reply

PATCH/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.

AuthorizationBearer <token>

Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.

In: header

Path Parameters

product_id*string
comment_id*string
reply_id*string

Header Parameters

If-Match?string

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 '{}'
Empty