Leadtime icon

Leadtime

Interact with Leadtime ERP API

Actions180

Journal → Patch

AI-generated

Summary

Updates an existing Journal entry by sending a partial body, mood, and optional reminder.

Inputs

  • journalId (required) — ID of the journal entry to update.
  • body — New content for the journal entry (HTML/Markdown supported).
  • mood — Mood for the journal entry (Happy, Neutral, or Sad).
  • reminder — Reminder date for the journal entry.

Output shape

a single record

Returns the updated journal entry.

Examples

Example 1: Update a daily journal entry with a new mood and reminder.

Set journalId to the entry ID, mood to 'Happy', and reminder to a specific date.

Example 2: Replace the content of a previous entry.

Set journalId to the entry ID and body to the new content.

Links

Discussion