Products Related

Nutrient

object

Represents an entry in the nutrition facts.

categorystring

Category of nutrient.

Examples: “BIG9”, “MINERALSTOFFE_SPURENELEMENTE” or “SONSTIGE”

codestringrequired

The MAPI nutrient code.

See https://wiki.migros.net/spaces/MAPI/pages/355021332/Order+nutrition+facts for a full list of the codes and further documentation.

namestringrequired
operatorstring
pictogram_namestring

Name of nutrient for display in the pictogram.

quantityOne Of

Quantity information.

NutrientQuantityobject
Show Child Parameters
ratingOne Of

FSA rating information for this nutrient.

This is only set on the “standard” nutrition facts (not “portion”) and only for selected nutrients, e.g. sugar, salt, fat.

NutrientRatingobject

Nutrition guidance about a nutrient.

Show Child Parameters
rdaOne Of

Information about Recommended Dietary Allowances (RDA).

NutrientRdaobject

Represents an entry in the nutrition facts.

Show Child Parameters
source_codestring

Code from source system.

Used for legacy version output and debugging.

Example

NutrientQuantity

object
alternateOne Of

Alternate quantity information.

ValueWithUnitobject
Show Child Parameters
numeric_valuenumber(float)

Example:0.1

unitstring

Example:g

valuestring

Quantity of the nutrient.

To display the information, “value” is preferred to respect the regulated precision.

Example:0.10 g

Example

NutrientRating

object

Nutrition guidance about a nutrient.

hex_colorstringrequired

The hexadecimal color code for this rating that is also used in the icon.

iconOne Of
Imageobject

An image and its properties.

Show Child Parameters
textstringrequired
valueintegerrequired

The icon

Example

NutrientRda

object

Represents an entry in the nutrition facts.

operatorstring

Recommended daily allowance operator.

percentnumber(float)required

Recommended daily allowance in percent.

quantityOne Of

Quantity information.

ValueWithUnitobject
Show Child Parameters
Example

NutritionFacts

object
consumption_hintstring

Information about amount consumed by adults.

nutri_scoreOne Of

Nutri Score information.

NutriScoreobject
Show Child Parameters
reference_sizesOne Of

Information about the nutrients per standard size and for one portion.

NutritionReferenceSizesobject
Show Child Parameters
serving_descriptionstring

Serving description.

Example: “pro 100 ml”

serving_size_descriptionstring

Serving size description.

Example: “100 Milliliter”

Example