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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

productVariantUpdate Mutation

Updates an existing variant for product.

Requires one of the following permissions:MANAGE_PRODUCTS
productVariantUpdate(externalReference: String, id: ID, input: ProductVariantInput!, sku: String): ProductVariantUpdate

Returns

ProductVariantUpdate

Show return type
type ProductVariantUpdate {
  productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [ProductError!]!
  productVariant: ProductVariant
}

Arguments

externalReference

externalReference · String

External ID of a product variant to update.

id

id · ID

ID of a product to update.

input

input · ProductVariantInput!

Fields required to update a product variant.

sku

sku · String

SKU of a product variant to update.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?