listEdit Mutation
Description
Updates the title of an existing customer list.
mutation listEdit($listRef: ID!, $title: String!) {
listEdit(listRef: $listRef, title: $title) {
_id
id
title
description
created
count
system
}
}
Variables
{
"listRef": "3a9b63e58ae5ea2b811383d5",
"title": "title"
}
Response
{
"listEdit": {
"_id": "306fe3afd28e052ea7304f1a",
"id": 4985178464359,
"title": "example",
"description": "example",
"created": 1784245706012,
"count": 10,
"system": true
}
}
Arguments
| Name | Type | Description |
|---|---|---|
listRef | ID! | Reference ID of the customer list to update. |
title | String! | New title for the customer list. |
Returns
List!