Create a Meal Tracker Entry
Last updated
Was this helpful?
Last updated
Was this helpful?
Meal Tracking is a simplified version of food logging that only works for meal plan meals.
Use the createMealEntry
mutation to add a meal entry for a specific meal. These created meal entries can be tracked by using the query.
Meal entries can have an assigned value. For instance, if you want to skip a meal, you can send the value: SKIPPED
as a parameter. Below you will find all the possible values a meal entry can have.
Note: Currently tracking service only supports
Field
Type
Note
mealId
ID
value
String
Value of the meal. Possible values:
SKIPPED
, ATE
, OTHER_FOLLOWING
, OTHER_NOT_FOLLOWING
, and DELETE
The following fields will be displayed in the response:
Field
Type
Note
success
Boolean
True if a meal entry has been created. Otherwise, it displays False
message
String
Description of the result
The following examples will create a skipped meal entry
The meal ID (from the )