---
title: "Edit own comment"
method: PUT
path: "/comments/{id}"
tags: ["Comments"]
---

# Edit own comment

`PUT /comments/{id}`

## Request

- Base URL: `https://api.shopseen.com/v1`
- URL: `https://api.shopseen.com/v1/comments/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `body` string, required

## Response `200`

Comment updated

- object
  - `comment` Comment
    - `id` string, uuid
    - `post_id` string, uuid
    - `user_id` string, uuid
    - `body` string
    - `display_name` string
    - `avatar_url` string, nullable
    - `created_at` string, date-time
    - `updated_at` string, date-time, nullable
    - `deleted_at` string, date-time, nullable
    - `reply_to_comment_id` string, uuid, nullable
    - `reply_to_user_id` string, uuid, nullable
    - `reply_to_display_name` string, nullable
    - `like_count` integer
    - `is_liked` boolean

---

[API](https://skmtc.dev/shopseen/apis/a-side-api.md) - [All operations](https://skmtc.dev/shopseen/apis/a-side-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shopseen/apis/a-side-api/revisions/f37f989e90da?raw)
