Login | Sign Up
  • FA
  • EN

API Docs

PUT /api/v1/tracker/waters/{tracker-water-id}

Update a water intake record in the tracker system.


Permissions

PermissionDescription
tracker_waters.updateUpdate tracker water record

Request Body Parameters

NameTypeRequiredDescription
tracked_atstringNoDatetime for the water intake
glass_countfloatNoNumber of glasses (float)
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 water resource */ }
}

Error Responses

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

footer wave
logo

Dambel, the smart world of fitness and nutrition

LinkedinInstagramXYoutubeTelegramGitHub