Add a Food Log Entry
Add a food log entry
Use the addFoodLog
mutation to create a new log entry for the logged-in user. It is possible to log the same food, on the same day by using a different time.
Available Arguments
Argument | Required? | Type | Description |
| True | String | The |
| True | Available options are | |
| True | Date | Date when the food is logged. Use the format |
| False | Time | Time when the food is logged. |
| False |
| Number of servings |
| False | String | Food quantity expressed in grams |
| False | String | Food quantity expressed in milligrams |
| False | String | Name of the portion consumed. |
Examples
GrapqhQL Example using grams as portion
GrapqhQL Example using portionModifier
portionModifier
curl Example
Last updated