---
displayed_sidebar: homepage
---

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

# AdminPostProductCategoriesCategoryReq

## Properties

<ParameterTypes parameters={[
  {
    "name": "description",
    "type": "`string`",
    "description": "An optional text field to describe the Product Category by.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "handle",
    "type": "`string`",
    "description": "A handle to be used in slugs.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "is_active",
    "type": "`boolean`",
    "description": "A flag to make product category visible/hidden in the store front",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "is_internal",
    "type": "`boolean`",
    "description": "A flag to make product category an internal category for admins",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "metadata",
    "type": "`Record<string, unknown>`",
    "description": "An optional set of key-value pairs to hold additional information.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "name",
    "type": "`string`",
    "description": "The name to identify the Product Category by.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "parent_category_id",
    "type": "`null` \\| `string`",
    "description": "The ID of the parent product category",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "rank",
    "type": "`number`",
    "description": "The rank of the category in the tree node (starting from 0)",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} expandUrl="https://docs.medusajs.com/development/entities/repositories#retrieving-a-list-of-records"/>
