dambel

دمبل

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

API Docs / tracker / supplements / update



PUT /api/v1/tracker/supplements/{tracker-supplement-id}

Update a supplement record in the tracker system.


Permissions

PermissionDescription
tracker_supplements.updateUpdate tracker supplement record

Request Body Parameters

NameTypeRequiredDescription
tracked_atstringNoDatetime for the supplement record
supplement_idintNoSupplement ID
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 supplement resource>

Error Responses

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

footer wave
logo

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

LinkedinInstagramXYoutube