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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

productMediaDelete Mutation

Deletes a product media.

Requires one of the following permissions:MANAGE_PRODUCTS
productMediaDelete(id: ID!): ProductMediaDelete

Returns

ProductMediaDelete

Show return type
type ProductMediaDelete {
  product: Product
  media: ProductMedia
  productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [ProductError!]!
}

Arguments

id

id · ID!

ID of a product media to delete.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?