--- title: CommentEvent - GraphQL Admin 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. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/commentevent md: https://shopify.dev/docs/api/admin-graphql/latest/objects/commentevent.md --- # Comment​Event object 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. ## Fields * action [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The action that occured. * app​Title [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) The name of the app that created the event. * attachments [\[Comment​Event​Attachment!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/CommentEventAttachment) non-null The attachments associated with the comment event. * attribute​To​App [Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean) non-null Whether the event was created by an app. * attribute​To​User [Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean) non-null Whether the event was caused by an admin user. * author [Staff​Member!](https://shopify.dev/docs/api/admin-graphql/latest/objects/StaffMember) non-null The name of the user that authored the comment event. * can​Delete [Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean) non-null Whether the comment event can be deleted. If true, then the comment event can be deleted. * can​Edit [Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean) non-null Whether the comment event can be edited. If true, then the comment event can be edited. * created​At [Date​Time!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/DateTime) non-null The date and time when the event was created. * critical​Alert [Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean) non-null Whether the event is critical. * edited [Boolean!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/Boolean) non-null Whether the comment event has been edited. If true, then the comment event has been edited. * embed [Comment​Event​Embed](https://shopify.dev/docs/api/admin-graphql/latest/unions/CommentEventEmbed) The object reference associated with the comment event. For example, a product or discount). * id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) non-null A globally-unique ID. * message [Formatted​String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/FormattedString) non-null Human readable text that describes the event. * raw​Message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The raw body of the comment event. * subject [Comment​Event​Subject](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/CommentEventSubject) The parent subject to which the comment event belongs. *** ## Map No referencing types *** ## Interfaces * * [Event](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Event) interface * [Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node) interface *** ## ||-CommentEvent Implements ### Implements * ||-[Event](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Event) * ||-[Node](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Node)