---
displayed_sidebar: productReference
---

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

# CreateProductTypeDTO

A product type to create.

<ParameterTypes parameters={[
  {
    "name": "id",
    "type": "`string`",
    "description": "The product type's ID.",
    "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": "value",
    "type": "`string`",
    "description": "The product type's value.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
