Skip to main content
inputCreateMultilingualAttributeCommandRequestInput

Fields

entityType
String!
required

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.

groupName
String!
required

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 '#'.

names

The names per language. The name in the default language is required; the other active languages are optional. One entry per language.

dataType
String

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.

description
String

An internal description of the attribute for staff.

sortOrder
Int

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.

activeSalesChannels

The online shops the attribute is transferred to. Defaults to none.

idempotencyKey
String

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.