Skip to main content

Finding a Price List Item as a Similar Product

How to find where a price list item is listed as a similar product?

Written by Petr Pech

"Similar goods" links are stored in a separate podobne-zbozi record, so they can be searched in both directions.


Structure

Field

Meaning

cenikOtec

The price list item for which the similar goods are listed.

cenik

The price list item listed as the similar good.

poznam

Note on the link.


Where an item is listed as similar goods

Filter by the cenik field — in the result, cenikOtec then indicates for which item the link is set up:

GET /c/{firma}/podobne-zbozi/(cenik='code:KOD').xml?detail=custom:cenik,cenikOtec

The opposite direction — what a given item has listed as similar goods — is queried via cenikOtec:

GET /c/{firma}/podobne-zbozi/(cenikOtec='code:KOD').xml?detail=custom:cenik,cenikOtec

⚠️ If the code contains spaces or other special characters, it must be encoded in the URL (%20). An unencoded code will be rejected by the HTTP client itself.

💡 If you're interested in this from the perspective of the price list item, it also has its own link — /c/{firma}/cenik/{id}.xml?relations=podobne-zbozi.


Related

Did this answer your question?