---
title: "Update dietary preferences"
method: PUT
path: "/api/meals/preferences"
tags: ["Meals"]
---

# Update dietary preferences

`PUT /api/meals/preferences`

## Request

- Base URL: `https://api.hiyd.ai`
- URL: `https://api.hiyd.ai/api/meals/preferences`
- Auth: HTTP bearer

## Request body

- object
  - `diet_type` string
  - `allergies` string[]
  - `food_dislikes` string[]
  - `daily_calorie_target` number
  - `daily_protein_target_g` number
  - `daily_carbs_target_g` number
  - `daily_fat_target_g` number
  - `daily_water_target_ml` number

## Response `200`

Preferences updated

---

[API](https://skmtc.dev/hiyd/apis/hiyd-backend-api.md) - [All operations](https://skmtc.dev/hiyd/apis/hiyd-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hiyd/apis/hiyd-backend-api/revisions/23598d347e1b?raw)
