For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
markedAsSpamAt timestamp is set. The mutation is idempotent: calling it on an already-spam customer leaves the timestamp unchanged.
This operation requires the following permissions:
customer:edit
Mark a customer as spam
Mutation
Variables
Unmark a customer as spam
To reverse the above, useunmarkCustomerAsSpam. The customer’s markedAsSpamAt timestamp is cleared and their threads start appearing in the inbox again.
Mutation
Variables

