Each item in Crystallize is a custom-defined shape that can be anything, including a document, a folder or a product. Since the main purpose of the Catalogue API is to fetch items from the catalogue, that is what we will be covering in this section.
As mentioned in the previous section, the endpoint to retrieve data from the API is:
https://api.crystallize.com/your-tenant-identifier/cataloguehttps://api.crystallize.com/your-tenant-identifier/catalogueSimilar to how the product was fetched in the section above, a document can be retrieved in the same manner. The query below gets the basic information for a document.
Fetching a folder is just as easy. The query below fetches the plants folder that is present in the demo tenant.