Add a Food Log Entry
Add a food log entry
Available Arguments
Examples
GrapqhQL Example using grams as portion
mutation {
addFoodLog (date:"2021-10-02",
foodId: "Q29tbW9uRm9vZE5vZGU6MTczNDQ0",
mealTime:DINNER,
servings:2,
grams:20)
{
success
message
}
}{
"data": {
"addFoodLog": {
"success": true,
"message": "Food log saved"
}
}
}GrapqhQL Example using portionModifier
portionModifiercurl Example
Last updated
Was this helpful?