ghl_course_update_lesson
Update a course lesson's title, content, visibility, category, or sequence in GoHighLevel by specifying course and lesson IDs; omit categoryId to keep the current category.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. Update Lesson 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. Endpoint: PUT /courses/products/{productId}/lessons/{lessonId} (Version header: v3; source: v3/courses-v3.json) Requires a Sub-Account (location) token. OAuth scopes: courses.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>",
"lessonId": "<lessonId>",
"locationId": "<locationId>",
"body": "<body>"
},
"name": "ghl_course_update_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body (schema carried verbatim from the official OpenAPI spec). | |
| lessonId | Yes | Lesson id | |
| productId | Yes | Product id | |
| locationId | Yes | Location id or sub-account id is required. |