Skip to main content

productDelete

Deletes a product.

Requires MANAGE_PRODUCTSpermission.
productDelete(
externalReference: String
id: ID
): ProductDelete

Arguments

productDelete.externalReference ● String scalar miscellaneous

External ID of a product to delete.

Added in Saleor 3.10

productDelete.id ● ID scalar miscellaneous

ID of a product to delete.

Type

ProductDelete object products

Deletes a product.

Requires MANAGE_PRODUCTSpermission.