Create translation
Creates a new translation record for a parent item with support for automatic slug generation for products
/api/v1/{team_slug}/{app_slug}/translationsAuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
application/jsonTranslation data
create_slugbooleanif this is true and the fieldType is name, a slug is generated from the translation, or formatted as a slug when the fieldType is slug. Generating a slug from a name is only available to products as of now. An existing slug is only replaced when the app automates redirect creation.
field_typegithub_com_enadhq_nabbit_internal_pkg_database.TranslationFieldTyperequirednamevaluedescriptionalttitletypecopyrightslugmeta_titlemeta_descriptionhtml_descriptionshort_descriptionhtml_short_descriptionkeylanguage_codestringrequiredLocale code like "en" or "en-gb". The locale also needs to be configured and supported by the app.
parent_refstringrequiredparent_typegithub_com_enadhq_nabbit_internal_pkg_database.TranslationTypeproductproduct_bundleproduct_variantimageattributeattribute_valuecategorytagcollectionfilebundle_groupvideobrandvariant_groupchannel_contenttranslationstringrequiredTranslation created successfully
datainternal_pkg_webserver_v1.TranslationDTOrequiredShow propertiesHide properties
field_typegithub_com_enadhq_nabbit_internal_pkg_database.TranslationFieldTyperequirednamevaluedescriptionalttitletypecopyrightslugmeta_titlemeta_descriptionhtml_descriptionshort_descriptionhtml_short_descriptionkeyidstringlanguage_codestringrequiredparent_refstringrequiredparent_typegithub_com_enadhq_nabbit_internal_pkg_database.TranslationTyperequiredproductproduct_bundleproduct_variantchannel_contentimageattributeattribute_valuecategorytagcollectionfilebundle_groupvideobrandvariant_grouptranslationstringrequireddetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequiredInvalid request (e.g. bad UUID, validation error)
detailsstring[]messagestringsuccessbooleanrequiredUnauthorized access
detailsstring[]messagestringsuccessbooleanrequiredNot found
detailsstring[]messagestringsuccessbooleanrequiredInternal server error
detailsstring[]messagestringsuccessbooleanrequired