Support

addListTreeNodesToListTree

View as Markdown

Add a new node to a list tree.

mutation

Requires commerce.product:write.

Add a new node to a list tree.

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

  • id String! required
  • input MutationAddListTreeNodesToListTreeInput! required
    • listTreeNodes [AddListTreeNodeInput!]! required
      • listId String! required
      • parentNodeId String optional
      • position Int optional
      • references [CreateReferenceInput!] optional
        • origin String! required
        • value String! required

Possible returns

  • ListTree ListTree — A List tree holds the hierarchical information of a group of lists.

Last updated on

How is this guide?