Skip to main content

Using Includes to Retrieve Information from the Document Header

How to retrieve document header properties from its line item in the API?

Written by Petr Pech

The example below shows how to retrieve company information from the perspective of a stock document line item, where the company is a property of the document header.

URL address:

/skladovy-pohyb-polozka/(cenik.id=13).json?detail=custom:nazev,mnozMj,cenik,doklSklad(firma)&includes=/skladovy-pohyb-polozka/doklSklad/
Did this answer your question?