Using TypeScript? Check out our GraphQL SDK for a fully typed client.
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

