Shopware icon

Shopware

Shopware

Actions778

Language → Update Language

AI-generated

Overview

This node operation updates an existing language entity in the Shopware system. It is useful for scenarios where you need to modify language details such as name, locale, parent language, translation codes, and associated sales channels or customers. For example, you can update the name of a language, change its locale settings, or adjust its hierarchical parent-child relationships.

Use Case Examples

  1. Updating the name and locale of a language to reflect new regional settings.
  2. Modifying the parent language of a language to reorganize language hierarchies.
  3. Adding or updating custom fields for a language entity.

Properties

Name Meaning
Id Identifier for the language to update, required to specify which language entity to modify.
Response Data format for response, used to specify the response format if needed.
Parent Id Identifier of the parent language, used to set or update the parent language relationship.
Locale Id Identifier for the locale associated with the language, required for locale specification.
Translation Code Id Identifier for the translation code associated with the language.
Name Name of the language, required to specify or update the language name.
Custom Fields Custom fields in JSON format, used to add or update custom metadata for the language.
Created At Creation timestamp of the language entity.
Updated At Last update timestamp of the language entity.
Parent JSON object representing the parent language entity with detailed nested relationships.
Locale JSON object representing the locale details associated with the language.
Translation Code JSON object representing the translation code details associated with the language.
Children JSON array representing child language entities related to this language.
Sales Channels JSON array representing sales channels associated with the language.
Sales Channel Default Assignments JSON array representing default assignments for sales channels related to the language.
Sales Channel Domains JSON array representing sales channel domains associated with the language.
Customers JSON array representing customers associated with the language.
Newsletter Recipients JSON array representing newsletter recipients related to the language.
Orders JSON array representing orders associated with the language.
Product Search Keywords JSON array representing product search keywords related to the language.
Product Keyword Dictionaries JSON array representing product keyword dictionaries associated with the language.
Product Reviews JSON array representing product reviews related to the language.
Product Search Config JSON object representing product search configuration for the language.

Output

JSON

  • id - Identifier of the updated language entity
  • parentId - Identifier of the parent language entity
  • localeId - Identifier of the locale associated with the language
  • translationCodeId - Identifier of the translation code associated with the language
  • name - Name of the language
  • customFields - Custom fields metadata of the language
  • createdAt - Creation timestamp of the language entity
  • updatedAt - Last update timestamp of the language entity
  • parent - Detailed JSON object of the parent language entity
  • locale - Detailed JSON object of the locale associated with the language
  • translationCode - Detailed JSON object of the translation code associated with the language
  • children - Array of child language entities
  • salesChannels - Array of sales channels associated with the language
  • salesChannelDefaultAssignments - Array of default assignments for sales channels
  • salesChannelDomains - Array of sales channel domains associated with the language
  • customers - Array of customers associated with the language
  • newsletterRecipients - Array of newsletter recipients related to the language
  • orders - Array of orders associated with the language
  • productSearchKeywords - Array of product search keywords related to the language
  • productKeywordDictionaries - Array of product keyword dictionaries associated with the language
  • productReviews - Array of product reviews related to the language
  • productSearchConfig - Product search configuration object for the language

Dependencies

  • Shopware API credentials

Troubleshooting

  • Ensure the 'Id' property is provided and correctly identifies an existing language entity to update.
  • Verify that required properties such as 'Locale Id' and 'Name' are set to valid values.
  • Check JSON formatting for properties that accept JSON input to avoid parsing errors.
  • Confirm that the API credentials used have sufficient permissions to update language entities in Shopware.

Discussion