Skip to main content

Inventory Status as of Date - API

How to check inventory status as of a specific date via REST API?

Written by Lenka Haringerová

Using the REST API, you can check the stock status as of any given date. The calculation includes stock movements with an issue date up to and including the specified date.


Method of calling

The service is available via the method GET at the address /c/{firma}/stav-skladu-k-datu.{přípona}, where {firma} is the database company identifier.


Parameters

Parameter

Required

Description

Default value

sklad

required

The identifier of the warehouse — either an integer ID, or a lookup code in the form code:KOD_SKLADU.

datum

optional

The date as of which the stock status is determined. Format yyyy-MM-dd.

current day

⚠️ Without the sklad parameter, the service returns 400 with code missing_param_exception. If the specified identifier does not match any warehouse, it returns 404 with code idNotFound. You can obtain the list of warehouses from the /sklad record.


Sample calls

GET https://demo.flexibee.eu/c/demo/stav-skladu-k-datu.json?sklad=4
GET https://demo.flexibee.eu/c/demo/stav-skladu-k-datu.xml?sklad=code:SKLAD&datum=2024-12-12


Related

Did this answer your question?