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

food logging

When loggging a food, I can put in the post parameters using the foodName and it will post the food to the fitbit journal just fine. The journal displays the foodname. Is there no way to delete the item? The documentation states that it needs a foodId in order to delete it. If I used the foodId in the post rather than the foodname, then the user would only see the foodId in the journal and would have not idea what it was.

What am I missing?

Best Answer
0 Votes
1 REPLY 1

Are you asking about deleting a food log entry? To delete a food log entry, you just need the id of the entry itself, not the foodId.

 

To get the food log id, you can call the Get Food Logs endpoint: https://dev.fitbit.com/docs/food-logging/#get-food-logs

You will want the "logId" value of the food log you wish to delete. 

Best Answer
0 Votes