Edit chapter API

Edit chapter API

Description: To edit a chapter name or reorder a chapter inside a course.

Request URL: <domain>/api/v4/<orgId>/course/<courseId>/sections/<sectionId>.json
Method: PUT
OAuth Scope: TrainerCentral.sectionapi.UPDATE
Parameters: Not applicable

Request Body: 
  1. {
  2.    "section": {
  3.         "name": "<chapter name>",
  4.         "sectionIndex":<chapter index> [This is required only when the lesson order needs to be updated. Indexing starts from 0]
  5.     }
  6. }

Sample Request:
https://zylkeracademy.trainercentral.com/api/v4/700000804/course/3000094000002000004/sections/3200000000002000012.json

Sample Request Body:
  1. {
  2.    "section": {
  3.         "name": "Introduction",
  4.          "sectionIndex":0
  5.     }
  6. }

Also read:  
How to get Org ID
How to get Course ID