---
displayed_sidebar: inventoryReference
---

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

# CreateReservationItemInput

The details of the reservation item to be created.

<ParameterTypes parameters={[
  {
    "name": "created_by",
    "type": "`string`",
    "description": "The user or system that created the reservation. Can be any form of identification string.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "description",
    "type": "`string`",
    "description": "The description of the reservation.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "external_id",
    "type": "`string`",
    "description": "An ID associated with an external third-party system that the reservation item is connected to.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "inventory_item_id",
    "type": "`string`",
    "description": "The ID of the associated inventory item.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "line_item_id",
    "type": "`string`",
    "description": "The ID of the associated line item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "location_id",
    "type": "`string`",
    "description": "The ID of the associated location.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "metadata",
    "type": "`null` \\| `Record<string, unknown>`",
    "description": "Holds custom data in key-value pairs.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "quantity",
    "type": "`number`",
    "description": "The reserved quantity.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
