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": "85ff4fc5f3142018414a9d4a",
"userRefs": [
"0cca8cdc52bc1cf3c3706809"
]
}
Response
{
"listRemoveUsers": {
"_id": "b4362b46edde172ea019cf7d",
"id": 7997863760477,
"title": "example",
"description": "example",
"created": 1724367109272,
"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. |