---
displayed_sidebar: homepage
---

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

# StoreGetProductCategoriesCategoryRes

 **StoreGetProductCategoriesCategoryRes**: `Object`

The product category's details.

## Type declaration

<ParameterTypes parameters={[
  {
    "name": "product_category",
    "type": "[ProductCategory](../../entities/classes/entities.ProductCategory.mdx)",
    "description": "Product category details.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "category_children",
        "type": "[ProductCategory](../../entities/classes/entities.ProductCategory.mdx)[]",
        "description": "The details of the category's children.",
        "optional": false,
        "defaultValue": "",
        "expandable": true,
        "children": []
      },
      {
        "name": "created_at",
        "type": "`Date`",
        "description": "The date with timezone at which the resource was created.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "description",
        "type": "`string`",
        "description": "The product category's description.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "handle",
        "type": "`string`",
        "description": "A unique string that identifies the Product Category - can for example be used in slug structures.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "id",
        "type": "`string`",
        "description": "The product category's ID",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "is_active",
        "type": "`Boolean`",
        "description": "A flag to make product category visible/hidden in the store front",
        "optional": false,
        "defaultValue": "false",
        "expandable": false,
        "children": []
      },
      {
        "name": "is_internal",
        "type": "`Boolean`",
        "description": "A flag to make product category an internal category for admins",
        "optional": false,
        "defaultValue": "false",
        "expandable": false,
        "children": []
      },
      {
        "name": "metadata",
        "type": "`Record<string, unknown>`",
        "description": "An optional key-value map with additional details",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "name",
        "type": "`string`",
        "description": "The product category's name",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "parent_category",
        "type": "`null` \\| [ProductCategory](../../entities/classes/entities.ProductCategory.mdx)",
        "description": "The details of the parent of this category.",
        "optional": false,
        "defaultValue": "",
        "expandable": true,
        "children": []
      },
      {
        "name": "parent_category_id",
        "type": "`null` \\| `string`",
        "description": "The ID of the parent category.",
        "optional": false,
        "defaultValue": "null",
        "expandable": false,
        "children": []
      },
      {
        "name": "products",
        "type": "[Product](../../entities/classes/entities.Product.mdx)[]",
        "description": "The details of the products that belong to this category.",
        "optional": false,
        "defaultValue": "",
        "expandable": true,
        "children": []
      },
      {
        "name": "rank",
        "type": "`number`",
        "description": "An integer that depicts the rank of category in a tree node",
        "optional": false,
        "defaultValue": "0",
        "expandable": false,
        "children": []
      },
      {
        "name": "updated_at",
        "type": "`Date`",
        "description": "The date with timezone at which the resource was updated.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "productCategoryProductJoinTable",
        "type": "`string`",
        "description": "",
        "optional": false,
        "defaultValue": "\"product_category_product\"",
        "expandable": false,
        "children": []
      },
      {
        "name": "treeRelations",
        "type": "`string`[]",
        "description": "",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  }
]} />
