Products
Edit Product
Changed onThis updates a product.
Note: If the barcode exists then you will be editing the existing product, However if it doesn''t you will be creating a new product with that unique barcode, and adding properties to the product.
post/cgi/product_jqm2.pl
Request
- Base URLhttps://world.openfoodfacts.net
- AuthAPI key in cookie session and API key in header User-Agent
Request body multipart/form-data
Example request
{
"code": "0074570036004",
"packaging": "Frozen"
}Response
OK
Example response
{
"status_verbose": "fields saved",
"status": 1
}Changes
- breaking
added to the request body
allOflist - breaking
the response's body type changed from no type to
objectfor status - warning
removed from the request body
allOflist
2 more changes in this revision
- breaking