Optional
init: RequestInitOptional
init: RequestInitOptional
init: RequestInitOptional
category_tag?: null | stringCategory Tag
ID of the Open Food Facts category of the product for products without barcode.
This is mostly for raw products such as vegetables or fruits. This
field is exclusive with `product_code`: if this field is set, it means
that the product does not have a barcode.
This ID must be a canonical category ID in the Open Food Facts taxonomy.
If the ID is not valid, the price will be rejected.
currency of the price, as a string. The currency must be a valid currency code. See https://en.wikipedia.org/wiki/ISO_4217 for a list of valid currency codes.
Date Format: date
Optional
labels_tags?: null | string[]Labels Tags
labels of the product, only for products without barcode.
The labels must be valid labels in the Open Food Facts taxonomy.
If one of the labels is not valid, the price will be rejected.
The most common labels are:
- `en:organic`: the product is organic
- `fr:ab-agriculture-biologique`: the product is organic, in France
- `en:fair-trade`: the product is fair-trade
Other labels can be provided if relevant.
Location Osm Id
Optional
origins_tags?: null | string[]Origins Tags
origins of the product, only for products without barcode.
This field is a list as some products may be a mix of several origins,
but most products have only one origin.
The origins must be valid origins in the Open Food Facts taxonomy.
If one of the origins is not valid, the price will be rejected.
Price
Optional
price_is_discounted?: booleanPrice Is Discounted
Optional
price_per?: null | "UNIT" | "KILOGRAM"Optional
price_without_discount?: null | numberPrice Without Discount
Optional
product_code?: null | stringProduct Code
Optional
product_name?: null | stringProduct Name
Optional
proof_id?: null | numberProof Id
Optional
category_tag?: null | stringOptional
created__gte?: null | stringOptional
created__lte?: null | stringOptional
currency?: null | stringOptional
date?: null | stringOptional
date__gt?: null | stringOptional
date__gte?: null | stringOptional
date__lt?: null | stringOptional
date__lte?: null | stringOptional
labels_tags__like?: null | stringOptional
location_id?: null | numberOptional
location_osm_id?: null | numberOptional
location_osm_type?: null | "NODE" | "WAY" | "RELATION"Optional
order_by?: null | stringOptional
origins_tags__like?: null | stringOptional
owner?: null | stringOptional
page?: numberOptional
price?: null | numberOptional
price__gt?: null | numberOptional
price__gte?: null | numberOptional
price__lt?: null | numberOptional
price__lte?: null | numberOptional
price_is_discounted?: null | booleanOptional
product_code?: null | stringOptional
product_id?: null | numberOptional
product_id__isnull?: null | booleanOptional
size?: number
MDN Reference