Partially update a student addressed by your external reference id.
Only provided fields are modified.
- If a field is set to
null→ its value is reset. - If a field is not provided → partial update, the field is ignored.
Groups are never modified: this route does not read nor write the student's groups, trainings or course enrolments, whatever the body carries. Unknown fields are ignored.
meta.updatedFields lists the fields whose stored value actually changed. A body that repeats the stored values changes nothing: updatedFields is empty and no on_student_edited webhook is sent.
email is the sign-in identifier of the student: changing it changes how they sign in. It must be unique among the active students of your school (409 STUDENT_ALREADY_EXISTS); the same email in another school is allowed (multi-account).
companyId attaches the student to a shared company record of your school (see the Companies endpoints): it is the "Company" field of the student record in the School app. company is the historical free-text company name, the "Company display name" printed on documents. A companyId that does not name a company of YOUR school answers 400 STUDENT_COMPANY_NOT_FOUND.
Sending a companyId also writes company with the display name of that company (its name when it has none), as the School app does, so documents print the attached company. This happens every time a companyId is sent, even the current one, and replaces the stored text; it is listed in meta.updatedFields when the text changes. A company sent in the same body is kept instead. Detaching (companyId: null) leaves company as it is. A company name longer than 64 characters, or using characters outside Windows-1252, is never truncated nor transliterated: company is then left as it is.
An unknown external reference id, or one belonging to another school, answers 404 STUDENT_NOT_FOUND. When several students of your school share that external reference id (legacy data), the request answers 409 STUDENT_EXTERNAL_REFERENCE_ID_AMBIGUOUS and nothing is modified: address the student by its Edusign id instead.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||

