Catalog & Products
Categories & Labels
Category tree, detail, and product labels
Categories
Category Tree
const { categories } = await client.catalog.getCategories('cs');
// Hierarchical tree with childrenCategory Detail
const category = await client.catalog.getCategory('electronics', 'cs');
// { id, name, slug, description, image, children }Category Products
const products = await client.catalog.getCategoryProducts('electronics', {
page: 1,
limit: 12,
sort: 'newest',
});Labels
Labels are tags you can attach to products (e.g. "New", "Sale", "Bestseller"):
const { labels } = await client.catalog.getLabels('cs');
// [{ id, name, slug, color }]Featured Products
Curated products highlighted by the admin:
const featured = await client.catalog.getFeatured({
locale: 'cs',
currency: 'CZK',
});