---
title: "Add a Comment"
method: POST
path: "/commentmanager.add"
tags: ["Comments"]
---

# Add a Comment

`POST /commentmanager.add`

Adds a comment to the specified object.

## Request body

- object
  - `data` object — `typedId of the object to which you want to add a comment.
    - `parentObjectIdentifier` string
    - `relatedObjectIdentifier` string[] — set of lineIds
    - `body` string — The text content of the comment.

## Response `200`

OK

- object
  - `response` object
    - `node` string
    - `data` CommentThread[]
      - `typedId` string
      - `comments` Comment[]
        - `typedId` string
        - `createdBy` integer
        - `lastUpdateDate` string, date-time
        - `body` string
        - `version` integer
        - `createDate` string, date-time
        - `lastUpdateBy` integer
      - `createdBy` integer
      - `lastUpdateDate` string, date-time
      - `version` integer
      - `relatedObjects` string[] — A transient list of strings representing the identifiers of related objects. This attribute is derived from the relations attribute.
      - `resolved` boolean
      - `createDate` string, date-time
      - `lastUpdateBy` integer
    - `status` integer

---

[API](https://skmtc.net/pricefx/apis/the-pricefx-backend-api.md) · [All operations](https://skmtc.net/pricefx/apis/the-pricefx-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pricefx/the-pricefx-backend-api/versions/0850b5d6be73/schema)
