OBJECT
ProductMedia
link GraphQL Schema definition
1 type ProductMedia implements ObjectWithAttributes, Localizable { 2 Int! : 3 4 # This media will be returned in one selected size. See Query.mediaSizes for the 5 # list of available sizes. 6 # 7 # Required permission: ProductMedia:read 8 # 9 # Arguments 10 # sizeName: (self-explanatory) 11 String = "standard"): MediaSource! ( : 12 13 # May contain any key:value pairs, but some helpful meta-data may also be 14 # automatically added here: 15 # * `originalHeight`, `originalWidth` – original dimensions of the uploaded image 16 # * `originalSha1` – SHA-1 checksum of the original image to enable automated 17 # checks, whether the image content is what you suspect it is 18 # * `originalUrl` – when the media were added using the `createMediaBatch` 19 # mutation, and so the original URL was known 20 String : 21 22 # Required permission: ProductMedia.attributes:read 23 # 24 # All elements are always returned 25 Attribute!]! : [ 26 27 # Required permission: Localization:read 28 # 29 # All elements are always returned 30 # 31 # Arguments 32 # where: (self-explanatory) 33 LocalizationFilter): [Localization!]! ( : 34 35 # Required permission: Product:read 36 Product! : 37 38 # Required permission: ProductVariant:read 39 ProductVariant : 40 41 }