upsert_profile
Upsert the current app user's fitness profile. Set timezone first: every daily total, streak and adherence window is bucketed by it and defaults to UTC. weight doubles as the fallback bodyweight for bodyweight-inclusive volume when no dated weight metric exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | ||
| height | No | cm | |
| weight | No | kg | |
| language | No | ||
| timezone | No | IANA zone name, e.g. 'Europe/Warsaw'. | |
| diet_type | No | ||
| unit_system | No | ||
| active_sports | No | ||
| meals_per_day | No | ||
| daily_fats_goal | No | ||
| daily_carbs_goal | No | ||
| daily_fiber_goal | No | g/day to reach | |
| daily_sugar_limit | No | g/day to stay under | |
| daily_calorie_goal | No | ||
| daily_protein_goal | No | ||
| daily_sodium_limit | No | mg/day to stay under | |
| daily_water_goal_ml | No |