---
title: "Gets substitution suggestions, possibly for a meal or a meal item."
method: GET
path: "/patients/{patient_id}/meals/substitution-suggestions"
tags: ["meal"]
---

# Gets substitution suggestions, possibly for a meal or a meal item.

`GET /patients/{patient_id}/meals/substitution-suggestions`

## Path parameters

- `patient_id` integer, required

## Query parameters

- `meal_id` integer
- `meal_item_id` integer

## Response `200`

successful operation

- MealSubstitutionSuggestionsResponse
  - `debug` object, nullable
  - `suggestions` MealSubstitutionSuggestionResponse[], required
    - `food_name_to_add` string
    - `food_name_to_add_translations` object, nullable
    - `food_name_to_remove` string
    - `food_name_to_remove_translations` object, nullable
    - `id` integer
    - `meal_id` integer, required
    - `meal_item_id` integer, required
    - `patient_id` integer
    - `photo_url` string, nullable
    - `suggestion_reason` FoodSubstitutionSuggestionReason
      - `placeholder_description` string, required

---

[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/5a99db4cbce3?raw)
