ProductMediaCreate Object
Create a media object (image or video URL) associated with product. For image, this mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec
type ProductMediaCreate {
product: Product
media: ProductMedia
productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
errors: [ProductError!]!
}
Fields
product
product · Product
media
media · ProductMedia
productErrors
productErrors · [ProductError!]!
errors
errors · [ProductError!]!
Used by
Schema: Saleor 3.23.43. Download SDL.