Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

food logging

When logging a food, is it not possible to post both a food id and a food description? Must you use only one or the other of them?

Best Answer
0 Votes
3 REPLIES 3

@jschrimshire wrote:

When logging a food, is it not possible to post both a food id and a food description? Must you use only one or the other of them?


I assume you are referring to foodId and foodName fields in the logging endpoint. In which case, yes you are correct.

Best Answer
0 Votes

can you change potassium from grams to milligrams in the food log? I am trying to add a protein shake and the potassium is in "mg" not "g", but I am unable to change the unit of measure in the log food menu, when creating a custom item

Best Answer
0 Votes

@tootie008 wrote:

can you change potassium from grams to milligrams in the food log? I am trying to add a protein shake and the potassium is in "mg" not "g", but I am unable to change the unit of measure in the log food menu, when creating a custom item


The unit used for potassium should be in "mg" already. Please see:

https://dev.fitbit.com/docs/food-logging/#approaches-to-logging-food

[the section titled "Additional Nutrition Information (optional and valid only with foodName)"]

 

Best Answer
0 Votes