Create or replace product nutrition header
Create the nutrition-facts header for a product, or update it in place when one already exists (the header is one-per-product). Nutrient rows are managed separately via the /nutrients endpoints. Requires the organization.contribute_organization permission on the membership.
Authorizations
Path Parameters
UUID of the organization that owns the product.
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$GTIN-8/12/13/14 of the target product. Normalized to GTIN-14 by zero-padding before lookup.
^\d{8,14}$Body
Request body for creating or replacing a product's nutrition header.
Free-text serving size as printed on the label (e.g. 1 cup (240ml)).
100"1 cup (240ml)"
Numeric serving size expressed in grams. Null when the label uses non-mass units (e.g. mL, count).
x >= 0240
Number of declared servings per container. May be fractional (e.g. 2.5).
x >= 08
Regulatory format the panel is laid out for. Defaults to US_FDA.
US_FDA, EU, CA_CFIA, AU_NZ, UK "US_FDA"
Response
OK
Structured nutrition-facts panel for a product, including nutrient row ids.
Free-text serving size as printed on the label (e.g. 1 cup (240ml)).
Regulatory format the panel is laid out for.
US_FDA, EU, CA_CFIA, AU_NZ, UK Per-serving nutrient rows on the panel, in label order. Empty list when none recorded.
Numeric serving size expressed in grams. Null when the label uses non-mass units.
x >= 0Number of declared servings per container. May be fractional.
x >= 0