dambel

دمبل

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

API Docs / tracker / workouts / update



PUT /api/v1/tracker/workouts/{tracker-workout-id}

Update a workout record in the tracker system.


Permissions

PermissionDescription
tracker_workouts.updateUpdate tracker workout

Request Body Parameters

NameTypeRequiredDescription
startstringNoStart datetime of the workout
workout_plan_session_idintNoID of the workout plan session (if based on a plan)
workout_titlestringNoOptional title for the workout
endstringNoEnd datetime of the workout
notesstringNoOptional notes

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


Response

200 OK

<tracker workout resource>

Error Responses

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

footer wave
logo

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

LinkedinInstagramXYoutube