Login | Sign Up
  • FA
  • EN

API Docs

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
diet_plan_supplement_idintNoDiet Plan Supplement 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

{
  "data": { /* tracker supplement resource */ }
}

Error Responses

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

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub