Skip to main content

ProductMediaDelete

Deletes a product media.

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

Fields

ProductMediaDelete.product ● Product object products

ProductMediaDelete.media ● ProductMedia object products

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

DEPRECATED

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

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

Returned By

productMediaDelete mutation