listRemoveUsers Mutation
Description
Removes buyers from a customer list. Buyers who have opted out are not removed. The list member count is automatically updated after removing buyers.
mutation listRemoveUsers($listRef: ID!, $userRefs: [ID!]!) {
listRemoveUsers(listRef: $listRef, userRefs: $userRefs) {
_id
id
title
description
created
count
system
}
}
Variables
{
"listRef": "ec51241877c7d6abcb1dcf84",
"userRefs": [
"b5afe95fa55dc97c727f7151"
]
}
Response
{
"listRemoveUsers": {
"_id": "4ddb7a1f7f02d7d6f9a86f83",
"id": 860557166983,
"title": "example",
"description": "example",
"created": 1726173766886,
"count": 10,
"system": true
}
}
Arguments
| Name | Type | Description |
|---|---|---|
listRef | ID! | Reference ID of the customer list to remove buyers from. |
userRefs | [ID!]! | List of buyer reference IDs to remove from the customer list. |