Skip to main content

productDelete

Remove a product from the catalogue.

Cross- and up-sell relationships pointing to the product are detached automatically.

Possible errors:

  • PRODUCT_NOT_FOUND: The supplied identifier did not match any product.

AUTH: Role=[product.OWNER]

productDelete(
productId: Int!
): Boolean!

Arguments

productDelete.productId ● Int! non-null scalar

Numeric identifier of the product to delete.

Type

Boolean scalar

The Boolean scalar type represents true or false.