POST
/
outOfStockItems
curl --request POST \
  --url https://api.getjusto.com/api/v1/outOfStockItems \
  --header 'Content-Type: application/json' \
  --data '{
  "storeId": "<string>"
}'
{
  "status": "ok",
  "data": [
    {
      "_id": "ehfcgbM3yoEgn5TqY",
      "type": "product",
      "websiteId": "ErCkmcyCEovseJq5E",
      "productId": "tqE6f6ryH7ZruT38v",
      "productExternalId": "cebiche-x1",
      "storeId": "xKoiiqdtKGaRA2ve4",
      "createdAt": "2021-07-12T00:15:54.164Z",
      "until": "tomorrow",
      "untilDate": "2021-07-12T10:00:00.000Z"
    }
  ]
}

Descripción

Este método permite obtener la lista de productos y modificadores que se encuentran actualmente agotados en uno o varios locales.

Body

application/json

Response

200
application/json

Operación exitosa

The response is of type object.