"Similar goods" links are stored in a separate podobne-zbozi record, so they can be searched in both directions.
Structure
Field | Meaning |
| The price list item for which the similar goods are listed. |
| The price list item listed as the similar good. |
| 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.
