Update an immunization shot
Updates a shot’s date and optional doctor, recalculates the student’s immunization plan, and returns the refreshed student resource. The frontend currently sends POST with _method=patch, which Laravel method-spoofs to this PATCH route.
Authentication
AuthorizationBearer
The signed-in SchoolSet user token sent by the frontend.
Path parameters
id
Immunization student shot ID.
Request
This endpoint expects an object.
date_given
doctor_name
Response
Shot updated and student resource returned.
status
message
data
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error

