Support

updateListTree

View as Markdown

Update an existing list tree.

mutation

Requires commerce.product:write.

Update an existing 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 MutationUpdateListTreeInput! required
    • description String optional
    • htmlDescription String optional
    • HTMLDescription String optional — Deprecated: Use htmlDescription instead.
    • label String optional
    • metafields [UpsertMetafieldInput!] optional
      • key String! required
      • namespace String! required
      • type String! required
      • value String! required
    • name String optional
    • status String optional — The status of the list tree, one of ACTIVE, ARCHIVED, DRAFT.

Possible returns

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

Last updated on

How is this guide?