Skip to main content
View as Markdown

UpdateTreeFieldNodeInput

Input for updating a tree field node — selectability, translations, and/or renaming the last segment of its path.

input UpdateTreeFieldNodeInput {
fieldDefinitionId: ID!
currentNodePath: String!
newNodePath: String
isSelectable: Boolean
translations: [TranslationStringInput!]
}

Fields​

UpdateTreeFieldNodeInput.fieldDefinitionId ● ID! non-null scalar​

The ID of the FieldDefinition of type tree.

UpdateTreeFieldNodeInput.currentNodePath ● String! non-null scalar​

The path of the node to update, as a separator-joined string (e.g. "31126623|~^31126628").

UpdateTreeFieldNodeInput.newNodePath ● String scalar​

The new full path of the node (e.g. "ROOT|~^CATEGORY-X"). Only the last segment may differ from currentNodePath; the parent prefix must match. Use moveTreeFieldNode to change parent or order.

UpdateTreeFieldNodeInput.isSelectable ● Boolean scalar​

Whether this node should be selectable (present in treeOptions).

UpdateTreeFieldNodeInput.translations ● [TranslationStringInput!] list input​

Labels for the node in various languages. Replaces all existing translations.

Member Of​

updateTreeFieldNode mutation