> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mightynetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# updateCourseworkProgress

> Record the current member's progress on a coursework item (lesson, quiz, section, or overview)



**mutation** `updateCourseworkProgress(input: UpdateCourseworkProgressInput!): UpdateCourseworkProgressPayload`

## Arguments

**`input`**: `UpdateCourseworkProgressInput!` (required)

Parameters for UpdateCourseworkProgress

## Returns

`UpdateCourseworkProgressPayload`

**`clientMutationId`**: `String`

A unique identifier for the client performing the mutation.

---

**`courseProgress`**: `CourseProgress`

The member's refreshed progress through the coursework item's course.

---

**`errors`**: `[String!]!`

## Examples

```graphql Mutation
mutation UpdateCourseworkProgress($input: UpdateCourseworkProgressInput!) {
  updateCourseworkProgress(input: $input) {
    clientMutationId
    courseProgress {
      course {
        avatarDarkModeUrl
        avatarUrl
        coursework {
          __typename
        }
        createdAt
        descriptionHtml
        descriptionText
      }
      current {
        childCount
        children {
          __typename
        }
        completionCriteria
        course {
          __typename
        }
        createdAt
        descriptionHtml
      }
      items {
        edges {
          __typename
        }
        nodes {
          __typename
        }
        pageInfo {
          __typename
        }
      }
      next {
        childCount
        children {
          __typename
        }
        completionCriteria
        course {
          __typename
        }
        createdAt
        descriptionHtml
      }
      progressPercent
    }
    errors
  }
}
```

```json Variables
{
  "input": {
    "courseworkId": "id",
    "state": "COMPLETED"
  }
}
```

```json Response
{
  "data": {
    "updateCourseworkProgress": {
      "clientMutationId": "string",
      "courseProgress": {
        "course": {
          "avatarDarkModeUrl": "string",
          "avatarUrl": "string",
          "coursework": {
            "__typename": "CourseworkConnection"
          },
          "createdAt": "value",
          "descriptionHtml": "string",
          "descriptionText": "string"
        },
        "current": {
          "childCount": 1,
          "children": {
            "__typename": "CourseworkConnection"
          },
          "completionCriteria": "BUTTON",
          "course": {
            "__typename": "Course"
          },
          "createdAt": "value",
          "descriptionHtml": "string"
        },
        "items": {
          "edges": [
            {
              "__typename": "CourseworkProgressEdge"
            }
          ],
          "nodes": [
            {
              "__typename": "CourseworkProgress"
            }
          ],
          "pageInfo": {
            "__typename": "PageInfo"
          }
        },
        "next": {
          "childCount": 1,
          "children": {
            "__typename": "CourseworkConnection"
          },
          "completionCriteria": "BUTTON",
          "course": {
            "__typename": "Course"
          },
          "createdAt": "value",
          "descriptionHtml": "string"
        },
        "progressPercent": 1
      },
      "errors": [
        "string"
      ]
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.