Support

listTreeNodes

View as Markdown

Query `listTreeNodes` on the catalog subgraph (List).

query

Requires commerce.product:read.

Query listTreeNodes on the catalog subgraph (List).

Required headers

HeaderRequiredDescription
x-store-idYesID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: extensions.code: "UNAUTHENTICATED".

Go to Authentication for credential setup.

Arguments

  • after String optional
  • before String optional
  • createdAt CreatedAtFilter optional
    • gt String optional
    • lt String optional
  • first Int optional
  • hasParent Boolean optional
  • id ListTreeNodeIdsFilter optional
    • in [String!] optional
  • last Int optional
  • listId ListIdFilter optional
    • eq String optional
    • in [String!] optional
    • isNull Boolean optional
  • listStatus ListTreeNodeListStatusFilter optional Default: {"in":["ACTIVE","DRAFT"]}.
    • eq String optional
    • in [String!] optional
  • listTreeId ListTreeIdFilter optional
    • eq String optional
  • listTreeStatus ListTreeNodeListTreeStatusFilter optional
    • eq String optional
    • in [String!] optional
  • orderBy ListTreeNodeOrderBy optional
    • createdAt OrderByDirectionEnum optional
    • id OrderByDirectionEnum optional
    • position OrderByDirectionEnum optional
    • updatedAt OrderByDirectionEnum optional
  • paginationType PaginationType optional Default: "CURSOR".
  • parentNodeId ListTreeNodeParentNodeIdFilter optional
    • eq String optional
  • referenceValue ReferenceValueFilter optional
    • eq String optional
    • in [String!] optional
  • updatedAt UpdatedAtFilter optional
    • gt String optional
    • lt String optional

Possible returns

  • QueryListTreeNodesConnection QueryListTreeNodesConnection

Last updated on

How is this guide?