Skip to main content

categoryUpdate Mutation

Updates a category.

Requires the MANAGE_PRODUCTSpermission.
categoryUpdate(
externalReference: String
id: ID
input: CategoryInput!
): CategoryUpdate
Details
type CategoryUpdate {
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
category: Category
}

Arguments​

externalReference ● String​

External ID of a category to update.

Added in Saleor 3.23

id ● ID​

ID of a category to update.

input ● CategoryInput!​

Fields required to update a category.

Type​

CategoryUpdate​

Updates a category.

Requires the MANAGE_PRODUCTSpermission.