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": "e3834e6b37e4541591878615",
"title": "title"
}
Response
{
"listEdit": {
"_id": "5a73e91958fe276618298a90",
"id": 3881496166271,
"title": "example",
"description": "example",
"created": 1745029637056,
"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!