Magidoc

categoryUpdate
Mutation

Updates a category.

Arguments

#

id

ID !
Non-null

ID of a category to update.

input

Non-null

Fields required to update a category.

Response

#

Returns CategoryUpdate .

Example

#

    mutation ($id: ID!, $input: CategoryInput!) {
  categoryUpdate(id: $id, input: $input) {
    productErrors {
      field
      message
      code
      attributes
    }
    category {
      id
      description
      descriptionHtml
      externalId
      externalSource
      seoTitle
      seoDescription
      name
      slug
      allowProductAssignment
      level
    }
  }
}

  

3