NameDescriptionTypeAdditional information
food_id

food id is optional if user is adding new custom food

integer

None.

alias_id

food alias id

integer

None.

food_name

custom food name

string

None.

amount

amount to eat

decimal number

Required

custom_unit

custom unit for food

string

String length: inclusive between 0 and 150

region

food region

string

None.

calories

food calories might be inacurate. when user update existing meal food

decimal number

None.

carbs

food carbs might be inacurate. when user update existing meal food

decimal number

None.

fats

food fats might be inacurate. when user update existing meal food

decimal number

None.

proteins

food fats might be inacurate. when user update existing meal food

decimal number

None.