Skip to main content
LessonVersion: v3New

Sequence Lessons

PUT/courses/products/{productId}/categories/{categoryId}/lessons/sequence

Reorder lessons in a category. Requires a Location token with courses.write.

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
categoryIdstring<uuid>required

Category id

Possible values: non-empty

Example:b2c3d4e5-f678-4901-bcde-f12345678901

Query Parameters

locationIdstringrequired

Location id or sub-account id is required.

Possible values: non-empty

Example:ve9EPM428h8vShlRW1KT

Body

idsstring[]required

Lesson ids in display order

Example:["c3d4e5f6-7890-4123-cdef-123456789012"]

Response

Lessons reordered

okbooleanrequired

Whether the reorder succeeded

Example:true