Description of the nutrients object
The nutrientsobject represents the predefined nutrients for foods.
nutrients
Field name
Type
Description
amount
Float
Amount of the nutrient per food
name
String
Name of the protein. Possible values: Carbohydrate, Calcium, Sugar, etc.
Carbohydrate, Calcium
Sugar
type
NutrientEnumarrow-up-right
Object that indicates the type of food nutrients. Use any of the values listed in the Field Name of the Nutrient enum table.
unit
Unit of measurement of the protein
Use this object only in the following mutations.
createMyBrandedFoodsarrow-up-right
createMyCommonFoodsarrow-up-right
myBrandedFoodsarrow-up-right
myCommonFoodsarrow-up-right
Last updated 4 years ago
Was this helpful?