An OpenFood product.
Any endpoint that returns a Product in its JSON response.
id
- Type:
long
- Description: The ID used by the OpenFood database for this Product.
- Type:
barcode
- Type:
string
- Description: The Product barcode.
- Type:
name_translations
- Type:
Optional Translations Object
- Description: The names of the Product, translated into any languages provided by the manufacturer.
- Type:
display_name_translations
- Type:
Translations Object
- Description: The names of the Product in all supported languages, falling back to another language or the barcode if necessary.
- Type:
ingredients_translations
- Type
Optional Translations Object
- Description: The ingredients of the Product, translated into any languages provided by the manufacturer.
- Type
origin_translations
- Type
Optional Translations Object
- Description: The origin(s) of the Product, translated into any languages provided by the manufacturer.
- Type
status
- Type:
string
- Description: For internal use only.
- Type:
quantity
- Type:
float
- Description: The dry net weight or volume of the Product. To be used in conjunction with
unit
.
- Type:
unit
- Type:
string
- Description: The unit used by
quantity
to measure the weight or volume of the product. Usuallyg
orml
.
- Type:
portion_quantity
- Type:
float
(optional) - Description: The dry net weight or volume of a serving size of the Product. To be used in conjunction with
portion_unit
.
- Type:
portion_unit
(optional)- Type:
string
- Description: The unit used by
portion_quantity
to measure the weight or volume of a serving size of the product. Usuallyg
orml
.
- Type:
hundred_unit
- Type:
string
- Description: The unit used for the "per hundred" product nutrients (
g
orml
).
- Type:
alcohol_by_volume
- Type:
float
(optional) - Description: The percentage of alcohol in the Product.
- Type:
images
- Type:
object
categories
- Type:
Array[string]
- Description: image categories like "Front" or "Ingredients List"
- Type:
thumb
- Type:
string
- Description: URL for this image's thumbnail. Max width/height of 200px.
- Type:
medium
- Type:
string
- Description: URL for a medium-sized version of this image.
- Type:
large
- Type:
string
- Description: URL for a large version of this image.
- Type:
xlarge
- Type:
string
- Description: URL for an extra large version of this image.
- Type:
- Type:
nutrients
- Type:
Product Nutrients Object
- Description: The Product's Nutrients as described by the manufacturer.
- Type:
created_at
- Type:
string
- Description: UTC DateTime at which this Product was added to the OpenFood database.
- Type:
updated_at
- Type
string
- Description: UTC DateTime at which this Product (or one of its subordinate objects, including
images
nutrients
) was last modified.
- Type