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
Assignments → Update
AI-generatedSummary
Updates an existing LearnDash assignment using its ID.
Inputs
- Item ID (required) — The unique numeric ID of the assignment to update.
- Assignment Fields — Fields to update on the assignment, including title, content, excerpt, status, slug, parent course ID, approval status, and point configuration.
- Body (JSON) — JSON string representing additional body parameters to merge into the update request.
Output shape
a single record
Returns the updated LearnDash assignment REST API object.
Examples
Example 1: Approve a submitted assignment and assign points
Set Item ID to '789' and configure Assignment Fields with Approved Status set to 'Approved', Points Enabled set to true, Max Points to 100, and Points Awarded to 90.
Example 2: Update the status and parent course of an assignment
Set Item ID to '456' and configure Assignment Fields with Status set to 'Publish' and Course ID set to 12.
