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
Lessons → Update
AI-generatedSummary
Update an existing LearnDash lesson by specifying its numeric ID and the fields to change.
Inputs
- Item ID (required) — Numeric ID of the lesson item to update.
- Lesson Fields — Fields to update on the lesson such as title, content, excerpt, status, slug, and parent course ID.
- Body (JSON) — Advanced JSON payload to include additional or uncommon fields in the update request body. Overrides or supplements the preset fields.
Output shape
A JSON object representing the updated lesson.
The node returns the updated lesson data as a JSON object. When using both Lesson Fields and Body (JSON), the JSON payload fields supplement or override preset fields. Errors due to invalid JSON in Body (JSON) are reported clearly.
Examples
Example 1: Update lesson title and status
Set Item ID to the lesson's ID and specify new title and status in Lesson Fields.
Example 2: Update lesson with advanced fields
Provide the lesson ID and a JSON object in Body (JSON) with detailed fields not exposed in the UI, like custom meta or settings.
