Skip to main content

ProductMediaUpdate

Updates a product media.

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

Fields

ProductMediaUpdate.product ● Product object products

ProductMediaUpdate.media ● ProductMedia object products

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

DEPRECATED

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

ProductMediaUpdate.errors ● [ProductError!]! non-null object products

Returned By

productMediaUpdate mutation