Nutrients
Description of the nutrients object
Last updated
Description of the nutrients object
Last updated
The nutrients
object represents the predefined nutrients for foods.
Field name
Type
Description
amount
Float
Amount of the nutrient per food
name
String
Name of the protein. Possible values: Carbohydrate, Calcium
, Sugar
, etc.
type
Object that indicates the type of food nutrients. Use any of the values listed in the Field Name of the Nutrient enum table.
unit
String
Unit of measurement of the protein
Use this object only in the following mutations.