Own Food Item by Id

Retrieve an Own Food Item's information by its Id

Use the ownMealLog query to retrieve an Own Food Item's information.

Required Argument

Argument

Type

Description

id

ID!

Own food item ID. Use the ownFoodItems query to get the ID.

Example

{
  ownMealLog(id: "TWVhbExvZzozMTE3MDIxMC1kYjNkLTExZWEtYTA0ZS0wMjQyYWMxODAwMDc=") {
    databaseId
    name
    id
    userPid
    mealType
    mealTime
    secondaryInfoText
    extraInfo
    serving
    nutrients {
      sugar
      fat
      procnt
      fibtg
      netcarbs
    }
    servings {
      amount
      equivalent
      unit
      description
    }
    macrosLog {
      chocdf
      sugar
      procnt
    }
    nutritionalInfo {
      calories
      sugar
      calcium
      cholesterol
      sodium
    }
  }
}

Last updated