# GetStock API

### Lekérdezhető adatok

<table data-header-hidden><thead><tr><th width="224.84698224610344">Mező</th><th>Leírás</th></tr></thead><tbody><tr><td>Mező</td><td>Leírás</td></tr><tr><td><code>sku</code></td><td>A termék SKU-ja (cikkszáma).</td></tr><tr><td><code>quantity</code></td><td><p>A termék raktárkészlet állapota.</p><p>(A szabad készletet és a rendelésekhez lefoglalt mennyiségeket is tartalmazza.)</p></td></tr><tr><td><code>available_quantity</code></td><td><p>A termék szabad készletét tartalmazza.</p><p>(A rendelésekhez már lefoglalt mennyiségeket nem tartalmazza.)</p></td></tr><tr><td><code>reserved_by_orders</code></td><td>A termék készletből rendelésekhez lefoglalt mennyiség.</td></tr><tr><td><code>inventory_updated_at</code></td><td>A készlet utolsó módosításának ideje.</td></tr><tr><td><code>available_external_quantity</code></td><td>Az elérhető külső készlet (1-3 napos teljesítéssel).</td></tr><tr><td><code>immediate_quantity</code></td><td>Az azonnal beszerezhető készlet.</td></tr></tbody></table>

### Szűrési feltételek

| Mező                    | Leírás                               |
| ----------------------- | ------------------------------------ |
| `inventoryUpdatedSince` | A készlet változás utolsó időpontja. |

XML esetén:

Url: `https://app.webshippy.com/wspyapi/getStockInfoCsv/xml/`

Kérés:

```
<request> 
  <apiKey>api-key-comes-here</apiKey>
  <inventoryUpdatedSince>2020-12-01 00:00:00</inventoryUpdatedSince>
</request>
```

JSON esetén:

Url: `https://app.webshippy.com/wspyapi/getStockInfoCsv/json/`

Kérés:

```
{
  "apiKey": "api-key-comes-here",
  "inventoryUpdatedSince": "2020-12-01"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apidoc.webshippy.com/webaruhaz-integraciok/getstock-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
