---
displayed_sidebar: productReference
---

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

# UpdateProductCollectionDTO

The data to update in a product collection. The `id` is used to identify which product collection to update.

<ParameterTypes parameters={[
  {
    "name": "handle",
    "type": "`string`",
    "description": "The handle of the product collection.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "id",
    "type": "`string`",
    "description": "The ID of the product collection to update.",
    "optional": false,
    "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 IDs of the products to associate with the product collection.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "title",
    "type": "`string`",
    "description": "The title of the product collection.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "value",
    "type": "`string`",
    "description": "The value of the product collection.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
