Skip to main content

productVariantDelete Mutation

Deletes a product variant.

Requires the MANAGE_PRODUCTSpermission.
productVariantDelete(
externalReference: String
id: ID
sku: String
): ProductVariantDelete
Show return type

Arguments

externalReference ● String

External ID of a product variant to update.

id ● ID

ID of a product variant to delete.

sku ● String

SKU of a product variant to delete.

Type

ProductVariantDelete

Deletes a product variant.

Requires the MANAGE_PRODUCTSpermission.