CreateMultilingualAttributeCommandRequestInput
Creates a multilingual attribute in a group. The group is created together with its first attribute. Errors: errorCode is ATTRIBUTE_NAME_REQUIRED (the name in the default language is missing or empty), ATTRIBUTE_NAME_INVALID (a name contains ’#’), ATTRIBUTE_LANGUAGE_NOT_FOUND (a language is unknown or not active), ATTRIBUTE_GROUP_NAME_INVALID (the group name is empty, longer than 150 characters or contains ’#’), ATTRIBUTE_ALLOWED_VALUES_REQUIRED (data type ‘VALUE_LIST’ without values), ATTRIBUTE_ALLOWED_VALUES_NOT_SUPPORTED (values given for another data type), ATTRIBUTE_ALLOWED_VALUES_INVALID (an entry is empty, repeated, contains ’|’ or lacks the default language), ATTRIBUTE_SALES_CHANNEL_NOT_SUPPORTED (a sales channel is not an online shop); ATTRIBUTE_NAME_ALREADY_EXISTS (another attribute or function attribute of the entity type has this name in the default language, regardless of upper and lower case). - Request
CreateMultilingualAttributeCommandRequestInputFields
The kind of record the attribute can be assigned to. It cannot be changed afterwards. Known values: ITEM, CATEGORY. The set can grow; a client must tolerate values it does not know.
The name of the group the attribute is displayed under. A name that matches an existing group of the same entity type apart from letter case uses the existing spelling. It must not contain the character '#'.
The names per language. The name in the default language is required; the other active languages are optional. One entry per language.
The data type, TEXT or VALUE_LIST. Defaults to 'TEXT'. It cannot be changed afterwards.
The allowed values in the order they are offered. Required, with at least one entry, for data type 'VALUE_LIST'; not allowed for 'TEXT'. Entries are distinct ignoring letter case in the default language.
An internal description of the attribute for staff.
The position within the group, starting at 1. Defaults to the end of the group; a larger value also places the attribute at the end.
The online shops the attribute is transferred to. Defaults to none.
Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.
Was this page helpful?