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