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 one of the following permissions: MANAGE_PRODUCTS.

type ProductMediaCreate {
product: Product
media: ProductMedia
productErrors: [ProductError!]!
errors: [ProductError!]!


product (Product)

media (ProductMedia)

productErrors ([ProductError!]!)

errors ([ProductError!]!)