11-03-2015 14:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-03-2015 14:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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?

11-04-2015 11:38 - edited 11-04-2015 11:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
11-04-2015 11:38 - edited 11-04-2015 11:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.

