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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

productMediaUpdate Mutation

Updates a product media.

Requires one of the following permissions:MANAGE_PRODUCTS
productMediaUpdate(id: ID!, input: ProductMediaUpdateInput!): ProductMediaUpdate

Returns

ProductMediaUpdate

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

Arguments

id

id · ID!

ID of a product media to update.

input

input · ProductMediaUpdateInput!

Fields required to update a product media.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?