Images

Unselect Image

This endpoint allows the user to unselect a photo for a product. The user must provide the product code and the image ID to unselect.

POST
/cgi/product_image_unselect.pl
code?string

code of the product

id?string

image field (image id) of the photo to unselect

Response Body

curl -X POST "https://world.openfoodfacts.net/cgi/product_image_unselect.pl"
{
  "status": "status ok",
  "status_code": 0,
  "imagefield": "front_fr"
}