LearnDash icon

LearnDash

Interact with the LearnDash LMS REST API

Actions60

Quizzes → Update

AI-generated

Summary

Update an existing quiz in LearnDash by specifying its numeric ID and providing updated field values or a raw JSON body payload.

Inputs

  • Item ID (required) — Numeric ID of the quiz to update.
  • Quiz Fields — Optional fields for the quiz, such as title, content, excerpt, status (draft, publish, etc.), slug, and parent IDs for course, lesson, or topic.
  • Body (JSON) — Raw JSON payload to include in the request body for advanced update scenarios; common quiz fields are available separately and this can be left blank.

Output shape

a list containing the updated quiz object as returned by the LearnDash API

Returns the updated quiz details in a JSON array format. The output reflects the API response and includes your changes. If multiple input items are processed, outputs for each are returned as items in the output array.

Discussion