# Comments

Section: Sales. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/comments/

This page and all 5 operation pages, in one file: https://developer.yoprint.com/llms/comments.txt

Any internal comment by its id, whatever it is on: a sales order, a quote, a job or a purchase order. Read, edit, delete and restore it here. To list or add the comments of one order, use Sales order comments. Customers never see comments.

## Operations (5)

- [Get a comment](https://developer.yoprint.com/reference/comments/v1-comment-show.md): `GET /v1/api/store/{team_slug}/comment/{id}`. Returns one comment by id, whatever it is on: a sales order, a quote, a job or a purchase order.
- [Edit a comment](https://developer.yoprint.com/reference/comments/v1-comment-update-put.md): `PUT /v1/api/store/{team_slug}/comment/{id}`. Replaces a comment's text.
- [Edit a comment without checks](https://developer.yoprint.com/reference/comments/v1-comment-update-patch.md): `PATCH /v1/api/store/{team_slug}/comment/{id}`. Use `PUT` to edit a comment.
- [Delete a comment](https://developer.yoprint.com/reference/comments/v1-comment-destroy.md): `DELETE /v1/api/store/{team_slug}/comment/{id}`. Deletes a comment.
- [Restore a deleted comment](https://developer.yoprint.com/reference/comments/v1-comment-restore.md): `PATCH /v1/api/store/{team_slug}/comment/{hash_id}/restore`. Brings back a deleted comment.
