products, categories, addon_groups, addons, variant_groups, variants. Each item needs its id and only the translation fields you want to change.null (or an empty string) to clear a language. POLISH in translatable_name cannot be cleared - it is the base name used on receipts, POS and delivery platforms.POLISH, ENGLISH, GERMAN, ITALIAN, FRENCH, UKRAINIAN, SPANISH, RUSSIAN. Any other key is rejected with 422.menu:write403 for any other location.curl --location --request PATCH 'https://fodimi.pl/api_public/menu/b06a191d-8e22-4707-8c1e-9b5119cf4461/translations' \
--header 'Content-Type: application/json' \
--data '{
"products": [
{
"id": 30763,
"translatable_name": {
"ENGLISH": "Margherita pizza",
"GERMAN": "Pizza Margherita"
},
"translatable_short_description": {
"ENGLISH": "Tomato sauce, mozzarella, basil"
}
}
],
"categories": [
{
"id": 4901,
"translatable_name": {
"ENGLISH": "Pizza"
}
}
],
"addon_groups": [
{
"id": 3266,
"translatable_name": {
"ENGLISH": "Sauces"
}
}
],
"addons": [
{
"id": 29,
"translatable_name": {
"ENGLISH": "Garlic sauce"
}
}
],
"variant_groups": [
{
"id": 644,
"translatable_name": {
"ENGLISH": "Size"
}
}
],
"variants": [
{
"id": 1532,
"translatable_name": {
"ENGLISH": "Large 40 cm"
}
}
]
}'{
"products": {
"updated": [
30763
],
"unchanged": []
},
"addons": {
"updated": [],
"unchanged": [
29
]
}
}