Skip to content
Console(opens in a new tab)

updateList

Changes the name, the description, the search, or the columns of a saved list.

Intent. This intent is a write. It stores something and returns the stored record.

Changes the name, the description, the search, or the columns of a saved list. As with createList, the fields under search in the payload set the columns.

updateList(input: UpdateListInput!): UpdateList

Returns UpdateList.

A UpdateListInput. Its fields, and the part each one belongs to, are on its own page.

This intent writes, so the reference does not run it against production data. No response is shown.

mutation {
updateList(input: {
id: "00000000-0000-4000-8000-000000000001"
name: "Texas grocery brands"
description: "Grocery store brands with a location in Texas."
searchInput: {
entityType: BRAND
prompt: "Grocery store brands in Texas"
}
}) {
list { id name updatedTimestamp }
search {
... on Brand {
id
names(first: 1) { edges { node { name } } }
}
}
}
}