customer
Fetch a single customer by their Plain customer ID. Returns null if no customer with that ID exists. Requires the customer:read permission.
customer(customerId: ID!): CustomerArguments
Returns
Uniquely identifies a customer in Plain.
Your system's ID for this customer.
The full name of the customer.
An optional short name of the customer, typically their first name.
The customer's email address.
The avatar URL of the customer.
The user the customer is assigned to.
When the customer was assigned to a user.
A subquery to fetch the customer's group memberships.
A subquery to fetch the customer's tenants.
The company the customer belongs to.
True when the customer was auto-created without a known identity (e.g. from an anonymous chat session). Anonymous customers may have limited profile data.
When the customer was marked as spam. Null if the customer has not been marked as spam.
The internal user or machine user who marked this customer as spam.
All known channel identities for this customer (email, Discord, Slack, etc.).

