Intake Checklist

The intakesChecklist query helps you review your food intake to see if you're doing well or if you need to improve something in your daily intake.

Required Arguments

Argument

Type

Description

category

IntakeCategory

Select among the following categories: FOOD, PLAN_SUPPLEMENT, or SUPPLEMENT

startDate

Date

The date when the food intake will start counting. Use the format: YYYY-MM-DD

endDate

Date

The date when the food intake will end counting. Use the format: YYYY-MM-DD

Available Fields

Field name

Type

Description

name

String

Unique Id of the checklist item

icon

String

Title of the checklist item

days

IntakesChecklistDay

An object that returns the items checklist per day

Example

query($category: IntakeCategory!, $start: Date!, $end: Date!) {
  intakesChecklist(start: $start, end: $end, category: $category) {
    name
    icon
    days {
      date
      items {
        ... on ChecklistItem {
          id
          title
          image
          checked
          subtitle
          category
        }
        ... on SupplementOnPlan {
          planName
          checked
          timeOfDay
          order
        }
    
      }
    }
  }
}
{
  "start": "2012-01-01",
  "end": "2022-12-01",
  "category": "SUPPLEMENT"
}

Last updated