Fetch the complete documentation index at: https://docs.tcgplayer.com/llms.txt. Use this file to discover all available pages before exploring further.

# Get Product Inventory Quantities

Get Product Inventory Quantities.

Gets the quantity of a specific productId in the authenticated store's inventory.

[block:code]
{
  "codes": [
    {
      "code": "{\n    \"success\": boolean,\n    \"errors\": [],\n    \"results\": [\n        {\n            \"productId\": integer,\n            \"totalQuantity\": integer,\n            \"skus\": []\n        }\n    ]\n}",
      "language": "json",
      "name": "Response Template"
    },
    {
      "code": "{\n    \"success\": true,\n    \"errors\": [],\n    \"results\": [\n        {\n            \"productId\": 1245,\n            \"totalQuantity\": 0,\n            \"skus\": []\n        }\n    ]\n}",
      "language": "json",
      "name": "Example Response #1"
    }
  ]
}
[/block]

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "v1.39.0",
    "title": "TcgApi"
  },
  "paths": {
    "/stores/{storeKey}/inventory/products/{productId}/quantity": {
      "get": {
        "tags": [
          "Stores"
        ],
        "summary": "Get Product Inventory Quantities",
        "description": "Get Product Inventory Quantities.",
        "operationId": "Stores_GetInventoryProductQuantity",
        "parameters": [
          {
            "name": "storeKey",
            "in": "path",
            "description": "Required. A unique key used to identify the caller of the API.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "productId",
            "in": "path",
            "description": "Required. Identity of the Product being searched for.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "includeGeneric",
            "in": "query",
            "description": "If set to true, generic listings will be returned.  Default is true.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "includeCustom",
            "in": "query",
            "description": "If set to true, custom listings will be returned.  Default is true.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "channelId",
            "in": "query",
            "description": "The channel to search for results.  Defaults to 0, the TCG Marketplace.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "includeExcludedCategories",
            "in": "query",
            "description": "If true, will return results for excluded categories.  Default is false.",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TcgApiModel.Common.ApiResult_TcgApiModel.Store.ProductQuantity_"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TcgApiModel.Common.ApiResult_TcgApiModel.Store.ProductQuantity_"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.tcgplayer.com"
    }
  ],
  "components": {
    "schemas": {
      "TcgApiModel.Store.ProductQuantity": {
        "type": "object",
        "properties": {
          "productId": {
            "format": "int64",
            "type": "integer"
          },
          "totalQuantity": {
            "format": "int32",
            "type": "integer"
          },
          "skus": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TcgApiModel.Store.SkuQuantity"
            }
          }
        }
      },
      "TcgApiModel.Store.SkuQuantity": {
        "type": "object",
        "properties": {
          "skuId": {
            "format": "int64",
            "type": "integer"
          },
          "storePriceCustomId": {
            "format": "int64",
            "type": "integer"
          },
          "quantity": {
            "format": "int32",
            "type": "integer"
          },
          "isCustom": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "mainImageUrl": {
            "type": "string"
          },
          "additionalImageUrls": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "TcgApiModel.Common.ApiResult_TcgApiModel.Store.ProductQuantity_": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TcgApiModel.Store.ProductQuantity"
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 94,
      "1": 217,
      "2": 152,
      "3": 86,
      "4": 78,
      "5": 118,
      "6": 200,
      "7": 0,
      "8": 17,
      "9": 105,
      "10": 157,
      "11": 192
    }
  }
}
```