Skip to main content
GET
/
inventory
/
dashboard
/
stock-value
Valor total do estoque
curl --request GET \
  --url https://api.example.com/inventory/dashboard/stock-value
{
  "totalValue": 250430.50,
  "topValuableProducts": [
    {
      "productId": "cffbca85-da89-4b2a-aecf-31422abcb34a",
      "sku": "NOTE-GAMER",
      "name": "Notebook Gamer",
      "quantity": 10,
      "totalProductValue": 55000.00
    }
  ]
}

Query Parameters

warehouseId
string
Opcional. Se informado, contabiliza o valor investido presencial apenas naquele depósito.

Response

{
  "totalValue": 250430.50,
  "topValuableProducts": [
    {
      "productId": "cffbca85-da89-4b2a-aecf-31422abcb34a",
      "sku": "NOTE-GAMER",
      "name": "Notebook Gamer",
      "quantity": 10,
      "totalProductValue": 55000.00
    }
  ]
}

Query Parameters

warehouseId
string

Response

200

Valor do estoque (top produtos e total)