Login | Sign Up
  • FA
  • EN

API Docs

POST /api/v1/tracker/supplements

Record a new supplement in the tracker system.


Permissions

PermissionDescription
tracker_supplements.createCreate tracker supplement record

Request Body Parameters

NameTypeRequiredDescription
tracked_atstringYesDatetime for the supplement record
supplement_idintYesSupplement ID
diet_plan_supplement_idintNoDiet Plan Supplement ID
notesstringNoOptional notes

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