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": "4bfce6d01dc70e57af708fe0",
"title": "title"
}
Response
{
"listEdit": {
"_id": "4483577899c6398032da3f24",
"id": 6366517267115,
"title": "example",
"description": "example",
"created": 1705550856236,
"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!