Skip to main content

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": "9a00b0ba7680942b2f82682d",
"title": "title"
}

Response

{
"listEdit": {
"_id": "395af59f70e176f735d883be",
"id": 5602059197467,
"title": "example",
"description": "example",
"created": 1744208466013,
"count": 10,
"system": true
}
}

Arguments

NameTypeDescription
listRefID!Reference ID of the customer list to update.
titleString!New title for the customer list.

Returns

List!