Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

productMediaBulkDelete Mutation

Deletes product media.

Requires one of the following permissions:MANAGE_PRODUCTS
productMediaBulkDelete(ids: [ID!]!): ProductMediaBulkDelete

Returns

ProductMediaBulkDelete

Show return type
type ProductMediaBulkDelete {
  count: Int!
  productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [ProductError!]!
}

Arguments

ids

ids · [ID!]!

List of product media IDs to delete.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?