LineItemNotes

Edit text/title/attachments/scope; the request's attachment list REPLACES the existing set. Touching a Clinic template — or promoting a Personal one to Clinic — requires the settings permission; a Personal template is editable only by its owner (non-owners get 404 from the visibility filter).

Changed on
put/line-item-notes/{id}

Request

Path parameters

idstring required

Request body

textstring
titlestring nullable
appliesToAnyItemboolean
scopeinteger

Response

OK

idstring
textstring

The note body stamped into the line (client-facing copy).

titlestring nullable

Optional short label for the picker.

appliesToAnyItemboolean

True = offered on every keyed line (and List<LineItemNoteAttachmentDto> LineItemNoteTemplateDto.Attachments is empty). False with a non-empty list = offered only on those items' lines. False with an EMPTY list = orphaned (its items were deleted): offered nowhere, shown as unattached in settings.

scopeinteger
createdByUserIdstring nullable
lastUsedAtstring date-time nullable
createdAtstring date-time
updatedAtstring date-time

Changes