Skip to content

ProductCategory

Type: schema

TypeScript Definition

typescript
ProductCategory: {components["schemas"]["Category"] & {
            child_categories: components["schemas"]["Category"][] | null
}

Component References

ReferenceResolves To
components["schemas"]["Category"]Category

OpenAPI Schema

json
{
  "title": "ProductCategory",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/ProductCategory",
    "description": "API reference for the ProductCategory schema"
  },
  "allOf": [
    {
      "$ref": "#/components/schemas/Category"
    },
    {
      "type": "object",
      "properties": {
        "child_categories": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "#/components/schemas/Category"
          }
        }
      },
      "required": [
        "child_categories"
      ]
    }
  ],
  "examples": []
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: