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": "3cbd390d54429feb8ce4c421",
"title": "title"
}

Response​

{
"listEdit": {
"_id": "873cb4bc5a5eb95c23559ab4",
"id": 2993411684742,
"title": "example",
"description": "example",
"created": 1775627532655,
"count": 10,
"system": true
}
}

Arguments​

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

Returns​

List!