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

Response

{
"listEdit": {
"_id": "9130f3e9ca70614662478554",
"id": 9970059294232,
"title": "example",
"description": "example",
"created": 1709885738619,
"count": 10,
"system": true
}
}

Arguments

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

Returns

List!