Food Log Guide
A general guide on how to do food logging with the Suggestic API
Understanding meal types (mealType)
Logging Recipes
mutation {
createMealLog(
mealType: RECIPE,
mealTime: DINNER,
mealDatabaseId: "a281aa17-e746-4780-b69b-b4c3597bb783",
customServingEquivalent: 122.53701305389404,
date: "2020-04-02",
quantity: 1,
time: "20:00"
) {
success
databaseId
}
}{
"data": {
"createMealLog": {
"success": true,
"databaseId": "d2c233b6bca411eba1f9a6b553e671fd"
}
}
}Logging USDA Items
Logging Menu Items
Logging "Own Recipes"
Logging "Own Items"
Last updated
Was this helpful?