Actions60
- Courses Actions
- Lessons Actions
- Topics Actions
- Quizzes Actions
- Groups Actions
- Course Users Actions
- Group Users Actions
- Custom Actions
- Assignments Actions
- Essays Actions
- Questions Actions
- Group Leaders Actions
- User Course Progress Actions
- User Courses Actions
- Group Courses Actions
- User Groups Actions
Essays → Update
AI-generatedSummary
Update an existing essay by its numeric ID with specified fields or a custom JSON body payload in LearnDash.
Inputs
- Item ID (required) — Numeric ID of the essay to update.
- Essay Fields — Optional fields to update for the essay such as title, content, excerpt, status (draft, pending, private, publish, trash), slug, parent course ID, grading status (graded or not graded), max points, and points awarded.
- Body (JSON) — Optional raw JSON payload for advanced update cases overriding standard fields.
Output shape
a single updated essay record object
Returns the updated essay data as a JSON object reflecting applied changes. If multiple input items are processed, returns an array of updated essay objects.
Examples
Example 1: Update an essay's title and grading status
Set Item ID to target essay, fill Essay Fields with new title and set grading status to graded.
Example 2: Update using a raw JSON body payload
Set Item ID and provide a custom JSON structure in Body (JSON) for advanced update requirements.
