> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domsoftware.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Estoque do Produto (Split por Depósito)

> Mostra os saldos consolidados de um produto, e detalha o particionamento em múltiplos armazéns.

### Path

<ParamField path="productId" type="string" required>
  UUID do produto desejado do catálogo.
</ParamField>

### Response

<ResponseExample>
  ```json Response theme={null}
  {
    "totalAvailable": 150,
    "totalPhysical": 160,
    "totalReserved": 10,
    "stocks": [
      {
        "warehouseId": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
        "available": 100,
        "physical": 110,
        "reserved": 10
      },
      {
        "warehouseId": "b1b2c3d4-e5f6-7890-1234-567890abcdef",
        "available": 50,
        "physical": 50,
        "reserved": 0
      }
    ]
  }
  ```
</ResponseExample>


## OpenAPI

````yaml get /inventory/product/{productId}
openapi: 3.0.0
info:
  title: Hub Marketplace API
  description: API for managing marketplace listings and keys
  version: '1.0'
  contact: {}
servers: []
security: []
tags:
  - name: listings
    description: ''
paths:
  /inventory/product/{productId}:
    get:
      tags:
        - Inventory
      summary: Estoque de um produto (todos os depósitos)
      operationId: InventoryController_getProductInventory
      parameters:
        - name: productId
          required: true
          in: path
          schema:
            format: uuid
            type: string
      responses:
        '200':
          description: Estoque consolidado + por depósito
        '404':
          description: Produto não encontrado
      security:
        - bearer: []
components: {}

````