Skip to main content
Version: 3.x


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:

Requires MANAGE_PRODUCTSpermission.
type ProductMediaCreate {
product: Product
media: ProductMedia
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!


ProductMediaCreate.product ● Product object ● ProductMedia object

ProductMediaCreate.productErrors ● [ProductError!]! deprecated non-null object


This field will be removed in Saleor 4.0. Use errors field instead.

ProductMediaCreate.errors ● [ProductError!]! non-null object

Returned by

productMediaCreate mutation

Was this page helpful?