---
displayed_sidebar: productReference
---

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

# CreateProductCollectionDTO

A product collection to create.

<ParameterTypes parameters={[
  {
    "name": "handle",
    "type": "`string`",
    "description": "The product collection's handle. If not provided, the value of this attribute is set to the slug version of the title.",
    "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": "product_ids",
    "type": "`string`[]",
    "description": "The products to associate with the collection.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "title",
    "type": "`string`",
    "description": "The product collection's title.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
