--- title: CommentSpamPayload - GraphQL Admin description: Return type for `commentSpam` mutation. api_version: 2025-10 api_name: admin type: payload api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/payloads/commentspampayload md: https://shopify.dev/docs/api/admin-graphql/latest/payloads/commentspampayload.md --- # Comment​Spam​Payload payload Return type for `commentSpam` mutation. ## Fields * comment [Comment](https://shopify.dev/docs/api/admin-graphql/latest/objects/Comment) The comment that was marked as spam. * user​Errors [\[Comment​Spam​User​Error!\]!](https://shopify.dev/docs/api/admin-graphql/latest/objects/CommentSpamUserError) non-null The list of errors that occurred from executing the mutation. *** ## Mutations with this payload * [comment​Spam](https://shopify.dev/docs/api/admin-graphql/latest/mutations/commentSpam) mutation Marks a comment as spam. *** ## Map ### Mutations with this payload * [comment​Spam](https://shopify.dev/docs/api/admin-graphql/latest/types/commentSpam)