# CommentEvent - admin-graphql - OBJECT Version: 2024-07 ## Description Comment events are generated by staff members of a shop. They are created when a staff member adds a comment to the timeline of an order, draft order, customer, or transfer. ### Access Scopes ## Fields * [appTitle](/docs/api/admin-graphql/2024-07/scalars/String): String - The name of the app that created the event. * [attachments](/docs/api/admin-graphql/2024-07/objects/CommentEventAttachment): CommentEventAttachment! - The attachments associated with the comment event. * [attributeToApp](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the event was created by an app. * [attributeToUser](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the event was caused by an admin user. * [author](/docs/api/admin-graphql/2024-07/objects/StaffMember): StaffMember! - The name of the user that authored the comment event. * [canDelete](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the comment event can be deleted. If true, then the comment event can be deleted. * [canEdit](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the comment event can be edited. If true, then the comment event can be edited. * [createdAt](/docs/api/admin-graphql/2024-07/scalars/DateTime): DateTime! - The date and time when the event was created. * [criticalAlert](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the event is critical. * [edited](/docs/api/admin-graphql/2024-07/scalars/Boolean): Boolean! - Whether the comment event has been edited. If true, then the comment event has been edited. * [embed](/docs/api/admin-graphql/2024-07/unions/CommentEventEmbed): CommentEventEmbed - The object reference associated with the comment event. For example, a product or discount). * [id](/docs/api/admin-graphql/2024-07/scalars/ID): ID! - A globally-unique ID. * [message](/docs/api/admin-graphql/2024-07/scalars/FormattedString): FormattedString! - Human readable text that describes the event. * [rawMessage](/docs/api/admin-graphql/2024-07/scalars/String): String! - The raw body of the comment event. * [subject](/docs/api/admin-graphql/2024-07/interfaces/CommentEventSubject): CommentEventSubject! - The parent subject to which the comment event belongs. ## Connections ## Related queries ## Related mutations ## Related Unions ## Examples