---
title: "List out of stock items"
method: GET
path: "/ecommerce/stores/{storeId}/out-of-stock"
---

# List out of stock items

`GET /ecommerce/stores/{storeId}/out-of-stock`

## Request

- Base URL: `https://api.service.getjusto.com/v3`
- URL: `https://api.service.getjusto.com/v3/ecommerce/stores/{storeId}/out-of-stock`
- Auth: none declared

Lista los productos y opciones de modificador agotados en el local. Para reactivarlos, usa los endpoints out-of-stock del producto o de la opción con outOfStock false.

## Path parameters

- `storeId` string, required

## Response `200`

The OpenAPI spec

- object
  - `success` boolean
  - `data` ApiStoreOutOfStockItem[]
    - `outOfStockItemId` string: ID del registro de agotado.
    - `storeId` string: ID Justo del local.
    - `itemType` 'product' | 'modifierOption': Tipo de item agotado.
    - `productId` string: ID Justo del producto, si es un producto.
    - `productExternalId` string: ID externo del producto.
    - `modifierOptionId` string: ID Justo de la opción de modificador, si es una opción.
    - `modifierOptionExternalId` string: ID externo de la opción.
    - `name` string: Nombre del producto o de la opción.
    - `until` 'none' | 'tomorrow': none: agotado hasta que se reactive; tomorrow: hasta el día siguiente.
    - `untilDate` string, date-time: Fecha en que vuelve a estar disponible automáticamente, si existe.
    - `stock` number: Stock configurado. Los agotados tienen 0 o vacío.
    - `createdAt` string, date-time: Fecha en que se agotó.

## Other responses

- `400`: Errors

## Changes

- **2026-10-31** `4ad06bd631ce`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getjusto/apis/justo-api/changes/ecommerce/stores/:storeId/out-of-stock/get.md)

---

[API](https://skmtc.dev/getjusto/apis/justo-api.md) - [All operations](https://skmtc.dev/getjusto/apis/justo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getjusto/apis/justo-api/revisions/c810bd8246fd?raw)
