Own Food Item

Retrieve individual Food Item by id

Required Arguments

Argument Name

Type

Description

id

string

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

Available Fields

The following fields are displayed in the response:

Field Name

Type

Description

id

String

Own Food item ID

databaseId

DatabaseId

DatabaseId of the own food item

name

String

Name of the logged item

quantity

Float

Quantity of logged servings

nutritionalInfo

An object that contains the nutritional values of the associated food per each gram of that food.

{
  ownFoodItem(id: "TWVhbExvZzo5YzBlNjBlZS02YTc3LTExZWItOGY0Ni0zMjRmNmJiMTI2YzE=") {
    id
    databaseId
    name
    quantity
    nutritionalInfo {
      calories
      fat
      protein
      carbs
    }
  }
}

Last updated