Skip to main content

productVariantDelete Mutation

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.

productVariantDelete.id ● ID scalar miscellaneous

ID of a product variant to delete.

productVariantDelete.sku ● String scalar miscellaneous

SKU of a product variant to delete.

Type

ProductVariantDelete object products

Deletes a product variant.

Requires MANAGE_PRODUCTSpermission.