Admin property management
Rename Property
Rename a property across all products
When renaming a property that already exists:
-
If both properties have the same value: keep one entry
-
If both properties have different values: keep the original property's value
-
old_property: The current property name
-
new_property: The target property name
curl -X POST "https://api.folksonomy.openfoodfacts.org/admin/property/rename" \ -H "Content-Type: application/json" \ -d '{ "old_property": "string", "new_property": "string" }'
null
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}