Meal Tracker
Get the list of all tracked meals for a given range of dates.
Meal Tracker is a simplified version of food logging that only works for meal plan meals.
Use the mealTracker
query to get the list of all tracked meals for a given range of dates.
To obtain the list of tracked meals, it is required to have meal entries created. Refer to this documentation to create a meal tracker entry.
Note: Currently tracking service only supports JWT authentication
Required Arguments
Field
Type
Note
startDate
Date
The date when the meal entry will start counting. Use the format: YYYY-MM-DD
endDate
Date
The date when the meal entry will end counting. Use the format: YYYY-MM-DD
Available Fields
The following fields will be displayed in the response:
Field
Type
Note
mealId
String
Id of the meal
value
String
Value of the meal. Possible values:
SKIPPED
, ATE
, OTHER_FOLLOWING
, OTHER_NOT_FOLLOWING
, and DELETE
date
Date
It contains the date that corresponds to that particular day
based on the last time a meal plan was generated.
Examples
GraphQL Example
curl Example
Last updated