productCategoryUpdate

Graphql fields and variables for the productCategoryUpdate mutation

Update a product category

Scope required: product:write

For a complete list of input attributes see the ProductCategoryAttributes type

mutation productCategoryUpdate ($id: ID!, $attributes: ProductCategoryAttributes!) {
  productCategoryUpdate (id: $id, attributes: $attributes) {
      errors
      productCategory {
        createdAt
        id
        name
        updatedAt
      }
  }
}

Arguments

{
  "id": "456123",
  "attributes": {
    "name": ""
  }
}
Name
Type
Description

Response

Name
Type
Description

errors

List (String)

productCategory

Last updated

Was this helpful?