productVariantDelete Mutation
Deletes a product variant.
productVariantDelete(externalReference: String, id: ID, sku: String): ProductVariantDelete
Returns
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.