updateListTree
View as MarkdownUpdate an existing list tree.
mutation
Requires commerce.product:write.
Update an existing list tree.
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 for credential setup.
Arguments
idString!requiredinputMutationUpdateListTreeInput!requireddescriptionStringoptionalhtmlDescriptionStringoptionalHTMLDescriptionStringoptional — Deprecated: Use htmlDescription instead.labelStringoptionalmetafields[UpsertMetafieldInput!]optionalkeyString!requirednamespaceString!requiredtypeString!requiredvalueString!required
nameStringoptionalstatusStringoptional — The status of the list tree, one ofACTIVE,ARCHIVED,DRAFT.
Possible returns
ListTreeListTree— A List tree holds the hierarchical information of a group of lists.
Last updated on
How is this guide?