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": "9b226d907ac06779e5cc9395",
"userRefs": [
"17fe7c011f3873d756576f6b"
]
}
Response
{
"listRemoveUsers": {
"_id": "e320823788ad3cf1dba12a8e",
"id": 9533032871213,
"title": "example",
"description": "example",
"created": 1720151603257,
"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. |