> 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"
} 
```
