Admin value management

Replace Value

Replace a value for a specific property across all products

  • property: The property name
  • old_value: The value to replace
  • new_value: The new value
POST
/admin/value/replace
AuthorizationBearer <token>

In: header

propertyProperty
old_valueOld Value
new_valueNew Value

Response Body

curl -X POST "https://api.folksonomy.openfoodfacts.org/admin/value/replace" \  -H "Content-Type: application/json" \  -d '{    "property": "string",    "old_value": "string",    "new_value": "string"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}