Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

categoryDelete Mutation

Deletes a category.

Requires one of the following permissions:MANAGE_PRODUCTS
categoryDelete(externalReference: String, id: ID): CategoryDelete

Returns

CategoryDelete

Show return type
type CategoryDelete {
  productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [ProductError!]!
  category: Category
}

Arguments

externalReference

externalReference · String

External ID of a category to delete.

Added in Saleor 3.23

id

id · ID

ID of a category to delete.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?