# updateListTreeNode (https://developer.godaddy.com/en/docs/references/rest/catalog/list/mutations/updateListTreeNode)

***

title: updateListTreeNode
description: "Update an existing list tree node."
full: true
----------

mutation

Requires `commerce.product:write`.

Update an existing list tree node.

## Required headers

| Header       | Required | Description                                                                                                                     |
| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `x-store-id` | Yes      | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: `extensions.code: "UNAUTHENTICATED"`. |

Go to [Authentication](https://developer.godaddy.com/docs/api-users/auth) for credential setup.

## Arguments

* `id` `String!` **required**
* `input` `MutationUpdateListTreeNodeInput!` **required**
  * `listId` `String` **optional**
  * `listTreeId` `String` **optional**
  * `parentNodeId` `String` **optional**
  * `position` `Int` **optional**

## Possible returns

* `ListTreeNode` `ListTreeNode` — List tree node is associated to a single List and a node can be a parent node to provide the hierarchy of list trees.

- `createdAt` `DateTime` **nullable** — The creation date of the list node.
- `id` `ID` **nullable** — The globally-unique ID of the list node.
- `list` `List` **nullable** — The list associated with the node.
- `listTree` `ListTree` **nullable** — The List Tree associated with the node.
- `listTreeNodes` `ListTreeNodeListTreeNodesConnection` **nullable** — The children nodes of the list node.
- `parentListTreeNode` `ListTreeNode` **nullable** — The parent node of the list node.
- `position` `Int` **nullable** — The position of the node in the list.
- `references` `ListTreeNodeReferencesConnection` **nullable** — A reference to the resource in an external service. This can be useful for integrating the resource to any external service.
- `updatedAt` `DateTime` **nullable** — The last update date of the list node.
