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

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

productVariantDelete Mutation

Deletes a product variant.

Requires one of the following permissions:MANAGE_PRODUCTS
productVariantDelete(externalReference: String, id: ID, sku: String): ProductVariantDelete

Returns

ProductVariantDelete

Show return type
type ProductVariantDelete {
  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 variant to delete.

sku

sku · String

SKU of a product variant to delete.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?