| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
nutrition profile id to update(optional) |
integer |
None. |
| diet_template_id |
diet template id |
integer |
None. |
| calories |
number of calories nutrition profile in grams |
decimal number |
Required |
| diet_type |
type of food in this nutrition profile like |
string |
Required |
| region_code |
code of region/country name for e.g. INDIA: IN |
string |
Required |
| title |
title of nutrition profile |
string |
None. |
| description |
description for nutrition profile |
string |
None. |
| fiber |
number of grams in fiber |
decimal number |
None. |
| min_carbs |
min carbs in calories |
decimal number |
None. |
| max_carbs |
max carbes in calories |
decimal number |
None. |
| min_fats |
min fat in calories |
decimal number |
None. |
| max_fats |
max fats in calories |
decimal number |
None. |
| min_proteins |
min protine in calories |
decimal number |
None. |
| max_proteins |
max protines in calories |
decimal number |
None. |
| show_calories |
show calories to client |
boolean |
None. |
| show_pdf |
show diet plan pdf to client |
boolean |
None. |