---
displayed_sidebar: homepage
---

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

# AdminGetVariantsVariantInventoryRes

 **AdminGetVariantsVariantInventoryRes**: `Object`

The variant's inventory details.

## Type declaration

<ParameterTypes parameters={[
  {
    "name": "variant",
    "type": "[VariantInventory](medusa.VariantInventory.mdx)",
    "description": "The product variant's inventory details.",
    "optional": false,
    "defaultValue": "",
    "expandable": false,
    "children": [
      {
        "name": "id",
        "type": "`string`",
        "description": "the ID of the variant",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "inventory",
        "type": "[ResponseInventoryItem](medusa.ResponseInventoryItem.mdx)[]",
        "description": "The inventory details.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      },
      {
        "name": "sales_channel_availability",
        "type": "`object`[]",
        "description": "Details about the variant's inventory availability in sales channels.",
        "optional": false,
        "defaultValue": "",
        "expandable": false,
        "children": []
      }
    ]
  }
]} />
