Comments

Comment management

Get comments by product

get
/comments/product/{productId}

Retrieves all comments for a specific product.

Authorizations
accessTokenstringRequired
Path parameters
productIdstringRequired

The ID of the product.

Responses
200

A list of comments.

application/json
get
/comments/product/{productId}

Create a comment

post
/comments/product/{productId}

Creates a new comment for a product.

Authorizations
accessTokenstringRequired
Path parameters
productIdstringRequired

The ID of the product to comment on.

Body
contentstringRequired

The content of the comment.

Responses
post
/comments/product/{productId}

Delete a comment

delete
/comments/{commentId}

Deletes a comment by its ID.

Authorizations
accessTokenstringRequired
Path parameters
commentIdstringRequired

The ID of the comment to delete.

Responses
delete
/comments/{commentId}

No content