---
displayed_sidebar: inventoryReference
---

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

# CreateInventoryItemInput

The details of the inventory item to be created.

<ParameterTypes parameters={[
  {
    "name": "description",
    "type": "`null` \\| `string`",
    "description": "The description of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "height",
    "type": "`null` \\| `number`",
    "description": "The height of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "hs_code",
    "type": "`null` \\| `string`",
    "description": "The HS code of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "length",
    "type": "`null` \\| `number`",
    "description": "The length of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "material",
    "type": "`null` \\| `string`",
    "description": "The material of the inventory item.",
    "optional": true,
    "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": "mid_code",
    "type": "`null` \\| `string`",
    "description": "The MID code of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "origin_country",
    "type": "`null` \\| `string`",
    "description": "The origin country of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "requires_shipping",
    "type": "`boolean`",
    "description": "Whether the inventory item requires shipping.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "sku",
    "type": "`null` \\| `string`",
    "description": "The SKU of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "thumbnail",
    "type": "`null` \\| `string`",
    "description": "The thumbnail of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "title",
    "type": "`null` \\| `string`",
    "description": "The title of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "weight",
    "type": "`null` \\| `number`",
    "description": "The weight of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  },
  {
    "name": "width",
    "type": "`null` \\| `number`",
    "description": "The width of the inventory item.",
    "optional": true,
    "defaultValue": "",
    "expandable": false,
    "children": []
  }
]} />
