Catalog & Products
Products & Search
Browse, filter, and search products
List Products
const result = await client.catalog.getProducts({
page: 1,
limit: 24,
sort: 'price_asc',
inStock: true,
});
// { items: ProductListItem[], total, page, totalPages }Filter Options
| Param | Type | Description |
|---|---|---|
page | number | Page number (1-based) |
limit | number | Items per page (default 24) |
category | string | Filter by category slug |
label | string | Filter by label slug |
priceMin | number | Minimum price |
priceMax | number | Maximum price |
sort | string | price_asc, price_desc, name_asc, newest |
inStock | boolean | Only in-stock items |
search | string | Full-text search |
ids | string[] | Filter by product IDs |
slugs | string[] | Filter by slugs |
labels | string[] | Multiple labels (OR) |
categories | string[] | Multiple categories (OR) |
hasDiscount | boolean | Only discounted products |
isFeatured | boolean | Only featured products |
customFields | object | Custom field filters |
Product Detail
const product = await client.catalog.getProduct('wireless-headphones', {
locale: 'cs',
currency: 'CZK',
});Search
const results = await client.catalog.search('bluetooth speaker', {
page: 1,
limit: 10,
});Dynamic Filters
Build filter UI from available filter fields:
const { filters } = await client.catalog.getFilters();
// [{ key: 'color', label: 'Color', type: 'select', options: [...] }]