dambel

دمبل

shevron
ورود | ثبت نام

API Docs / training / trainees / update



/api/v1/training/trainees/{trainee-id}

Update a trainee record.


Permissions

PermissionDescription
trainees.updateUpdate your own trainees/trainers
trainees.update_anyUpdate trainees/trainers for any user

Request Body Parameters

NameTypeRequiredDescription
notesstringNoOptional notes
is_deliveredbooleanNoSpecify if the service is delivered (only trainer can update this)

All parameters are optional. If omitted, they will not be updated. You can set them to null if desired.


Response

200 OK

<trainee resource>

Error Responses

StatusError TypeReference
422Validation ErrorValidation error
401UnauthorizedAuthentication error
403ForbiddenPermission error

footer wave
logo

دمبل، دنیای هوشمند ورزش و تغذیه

LinkedinInstagramXYoutube