Skip to main content

ProductMediaBulkDelete Object

Deletes product media.

Requires MANAGE_PRODUCTSpermission.
type ProductMediaBulkDelete {
count: Int!
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

Fields

ProductMediaBulkDelete.count ● Int! non-null scalar miscellaneous

Returns how many objects were affected.

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

DEPRECATED

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

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

Returned By

productMediaBulkDelete mutation