Skip to main content
More in Learn

Querying the Catalogue

The Product Information Management (PIM) API provides an easy way to fetch products, folders and documents.

Accessing the Catalogue

The catalogue API is easily accessible on a per-tenant basis as a POST to - replacing "teddy-bear-shop" with your own tenant identifier.

Products, Folders, Documents and Hello Crystallize

In Crystallize, Products, Folders and Documents are all implementations of the Item class and can be queried as an Item’s fragments in a GraphQl query. Using the powerful GraphQl querying mechanism you can start by querying the Item class data, which is inherited from the Product, Folder and Document classes.

Circle loading spinnerImage of a partial circle indicating &qoute;loading&qoute;.Fetching snippet...

Using fragments

One of the most powerful querying tools GraphQl provides is the fragments mechanism. These reusable units result to a cleaner and more structured code. You may find useful some more detailed information on GraphQl query fragments.

Quering the Crystallize catalogue with GraphQL
People showing thumbs up

Need further help?

Join and ask our
slack community.

Join our slack community