Skip to main content

categoryDelete Mutation

Deletes a category.

Requires the MANAGE_PRODUCTSpermission.
categoryDelete(
id: ID!
): CategoryDelete
Details
type CategoryDelete {
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
category: Category
}

Arguments

id ● ID!

ID of a category to delete.

Type

CategoryDelete

Deletes a category.

Requires the MANAGE_PRODUCTSpermission.