---
displayed_sidebar: productReference
---

import ParameterTypes from "@site/src/components/ParameterTypes"

# UpdateProductCategoryDTO

The data to update in a product category.

<ParameterTypes parameters={[
  {
    "name": "handle",
    "type": "`string`",
    "description": "The handle of the product category.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "is_active",
    "type": "`boolean`",
    "description": "Whether the product category is active.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "is_internal",
    "type": "`boolean`",
    "description": "Whether the product category is internal. This can be used to only show the product category to admins and hide it from customers.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "metadata",
    "type": "`Record<string, unknown>`",
    "description": "Holds custom data in key-value pairs.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "name",
    "type": "`string`",
    "description": "The name of the product category.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "parent_category_id",
    "type": "`null` \\| `string`",
    "description": "The ID of the parent product category, if it has any.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "rank",
    "type": "`number`",
    "description": "The ranking of the category among sibling categories.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
