Skip to main content
GET
/
inventory
/
dashboard
/
out-of-stock
Produtos sem estoque
curl --request GET \
  --url https://api.example.com/inventory/dashboard/out-of-stock
[
  {
    "productId": "cffbca85-da89-4b2a-aecf-31422abcb34a",
    "sku": "PROD-Z",
    "name": "Fone Bluetooth Escassez",
    "availableQuantity": 0,
    "lastSaleDate": "2024-01-10T15:30:00.000Z"
  }
]

Query Parameters

limit
number
default:"20"
Quantidade limite de retornos.
warehouseId
string
Opcional. ID de filtro por depósito.

Response

[
  {
    "productId": "cffbca85-da89-4b2a-aecf-31422abcb34a",
    "sku": "PROD-Z",
    "name": "Fone Bluetooth Escassez",
    "availableQuantity": 0,
    "lastSaleDate": "2024-01-10T15:30:00.000Z"
  }
]

Query Parameters

warehouseId
string
limit
number

Response

200

Lista de itens sem estoque