- Docs
- API reference
- Endpoints and schemas
- GraphQL
- Selection
UpdateList
Fields of UpdateList and how to reach it.
Selection. This type is a selection. An intent returns it, and you choose which of its fields come back.
The schema carries no description for this type.
Where it appears
Section titled “Where it appears”No connection leads here from a primary entity.
updateListreturns it.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
list |
List |
The list with its new settings. |
search |
SearchUnion |
The selection that sets the attributes of each record in the list. The API saves this selection as searchInput.query. It does not return data in this field. |
Example
Section titled “Example”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 } } } } } }}