Skip to main content
LessonVersion: v3New

Update Lesson

PUT/courses/products/{productId}/lessons/{lessonId}

Update a lesson. Requires a Location token with courses.write. Accepts the same lesson columns as create. All fields optional. Omit categoryId to keep the current category.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:courses.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

productIdstring<uuid>required

Product id

Possible values: non-empty

Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
lessonIdstring<uuid>required

Lesson id

Possible values: non-empty

Example:c3d4e5f6-7890-4123-cdef-123456789012

Query Parameters

locationIdstringrequired

Location id or sub-account id is required.

Possible values: non-empty

Example:ve9EPM428h8vShlRW1KT

Body

descriptionstringnullable
visibilitystring
Available optionsdraftpublishedlocked
posterImagestringnullable
sequenceNonumber
Example:1
commentStatusstring
Available optionsvisiblehiddenlocked
contentIdstringnullable
contentTypestring
Available optionsvideoassignmentquizaudiofunnel
commentPermissionstring
Available optionshiddenenabledlocked
lockedByPoststringnullable
lockedByCategorystringnullable
certificateTemplateIdstringnullable
metaDataobjectnullable
titlestring

Lesson title

Example:Lesson 1
categoryIdstring

Category id

Example:b2c3d4e5-f678-4901-bcde-f12345678901

Response

Success

idstringrequired

Lesson id

Example:c3d4e5f6-7890-4123-cdef-123456789012
titlestringrequired
Example:Lesson 1
descriptionstringnullablerequired
categoryIdstringrequired
visibilitystringrequired
Available optionsdraftpublishedlocked
posterImagestringnullablerequired
sequenceNonumberrequired
commentStatusstringrequired
Available optionsvisiblehiddenlocked
contentIdstringnullablerequired
contentTypestringrequired
Available optionsvideoassignmentquizaudiofunnel
commentPermissionstringrequired
Available optionshiddenenabledlocked
lockedByPoststringnullablerequired
lockedByCategorystringnullablerequired
certificateTemplateIdstringnullablerequired
metaDataobjectnullablerequired
createdAtstringrequired
updatedAtstringrequired