dambel

دمبل

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

API Docs / tracker / waters / update



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

<tracker water resource>

Error Responses

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

footer wave
logo

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

LinkedinInstagramXYoutube