Skip to main content

productVariantDelete

Deletes a product variant.

Requires MANAGE_PRODUCTSpermission.
productVariantDelete(
externalReference: String
id: ID
sku: String
): ProductVariantDelete

Arguments

productVariantDelete.externalReference ● String scalar miscellaneous

External ID of a product variant to update.

Added in Saleor 3.10

productVariantDelete.id ● ID scalar miscellaneous

ID of a product variant to delete.

productVariantDelete.sku ● String scalar miscellaneous

SKU of a product variant to delete.

Added in Saleor 3.8

Type

ProductVariantDelete object products

Deletes a product variant.

Requires MANAGE_PRODUCTSpermission.