> For the complete documentation index, see [llms.txt](https://www.apidoc-en.webshippy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.apidoc-en.webshippy.com/webshippy-api-guide/getstock-api.md).

# GetStock API

### Queryable data <a href="#lekerdezheto-adatok" id="lekerdezheto-adatok"></a>

| Field                         | Description                                                                                                                           |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `sku`                         | The product's SKU (article number).                                                                                                   |
| `quantity`                    | <p>The warehouse quantity of the product.<br>(It includes the available inventory and the quantity reserved by order(s) as well.)</p> |
| `available_quantity`          | <p>The available quantity of the product.<br>(It does not include the quantity reserved by order(s).)</p>                             |
| `reserved_by_orders`          | The quantity reserved by order(s).                                                                                                    |
| `inventory_updated_at`        | Last update in the inventory.                                                                                                         |
| `available_external_quantity` | Available external stock (1-3 days delivery).                                                                                         |
| `immediate_quantity`          | The immediately available inventory.                                                                                                  |

### Filtering conditions <a href="#szuresi-feltetelek" id="szuresi-feltetelek"></a>

| Field                   | Description                        |
| ----------------------- | ---------------------------------- |
| `inventoryUpdatedSince` | The date of the last stock update. |

In case of XML:

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

Request:

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

In case of JSON:

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

Request:

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://www.apidoc-en.webshippy.com/webshippy-api-guide/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.
