CommentEventAttachment object

A file attachment associated to a comment event.


On this page


Fields

fileExtension ([String](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
The file extension of the comment event attachment, indicating the file format.

id ([ID!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#id-2021-01))
Globally unique identifier.

image ([Image](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/image))
The image attached to the comment event.

Argument Description
crop
(
[CropRegion](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/cropregion)

)
Crops the image according to the specified region. This argument is deprecated: Use crop on Image.transformedSrc instead.
maxHeight
(
[Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)

)
Image height in pixels between 1 and 2048. This argument is deprecated: Use maxHeight on Image.transformedSrc instead.
maxWidth
(
[Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)

)
Image width in pixels between 1 and 2048. This argument is deprecated: Use maxWidth on Image.transformedSrc instead.
scale
(
[Int](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01)

)
Image size multiplier for high-resolution retina displays. Must be between 1 and 3. This argument is deprecated: Use scale on Image.transformedSrc instead.
Default value: 1

name ([String!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#string-2021-01))
The filename of the comment event attachment.

size ([Int!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#int-2021-01))
The size of the attachment.

url ([URL!](https://shopify.dev/docs/admin-api/graphql/reference/scalar#url-2021-01))
The URL of the attachment.


Types that return CommentEventAttachment

  • [CommentEvent.attachments](https://shopify.dev/docs/admin-api/graphql/reference/events/commentevent#attachments-2021-01)