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

Response

{
"listEdit": {
"_id": "ae64edc6532c8b28430aa4e4",
"id": 5617727257862,
"title": "example",
"description": "example",
"created": 1776165803983,
"count": 10,
"system": true
}
}

Arguments

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

Returns

List!