---
title: "Get favorite food of the patient from the server"
method: GET
path: "/patients/{patient_id}/foods/favorites"
tags: ["food"]
---

# Get favorite food of the patient from the server

`GET /patients/{patient_id}/foods/favorites`

## Request

- Base URL: `https://api.rxfoodapp.com/api`
- URL: `https://api.rxfoodapp.com/api/patients/{patient_id}/foods/favorites`
- Auth: HTTP bearer

## Path parameters

- `patient_id` integer, required

## Response `200`

successful operation

- FavoriteItemResponse[]
  - `addon_names` string[], nullable
  - `carbohydrate_g` number
  - `custom_label` string, nullable: user-defined label to identify the favorite.
  - `favorite_id` number, required: id of the favorited item
  - `food_name` string, required: food name
  - `note` string, nullable: note to be stored with the favorite.
  - `replacement_food_name` string, nullable: replacement food as generated by the system
  - `serving_type_label` string, nullable: special label indicating custom servings, such pizza size
  - `serving_type_multiplier` number, nullable: multiplier applied to a serving to account for sizing, such as a large pizza when the reference is a small pizza
  - `serving_unit_amount` number, nullable: unit amount in grams per serving
  - `serving_unit_label` string, nullable: unit of measure coinciding with the unit amount
  - `serving_unit_label_translations` object, nullable
  - `servings` number, nullable: number of servings to be stored
  - `similar_items` string[]

## Other responses

- `204`: no favorites found

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) - [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) - [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/c3d8e22b22e8?raw)
