List products
distru_list_productsFetch Distru catalog products with filters for IDs, SKUs, names, brands, categories, active stock, and update time. Pagination follows next_page links to retrieve results safely.
Instructions
List products from the Distru catalog (GET /public/v1/products). Filters combine with AND; values within a single list filter combine with OR. Prices and quantities are returned as decimal STRINGS, not numbers, to preserve exact precision - do not parse them as floats. Returns { data, next_page }; next_page is an absolute URL or null.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Match any product id in this list. | |
| sku | No | Case-insensitive SUBSTRING match on SKU, not an exact match. Use `skus` for exact matching on one or more full SKUs. | |
| name | No | Case-insensitive substring match on product name. | |
| page | No | 1-indexed page number. Page size is not guaranteed stable; follow next_page instead. | |
| skus | No | Exact case-insensitive match on any SKU in this list. | |
| deleted | No | Whether to include soft-deleted records. Defaults to "no". | |
| brand_ids | No | ||
| is_active | No | ||
| category_ids | No | ||
| updated_datetime | No | Comma-delimited datetime range. "T," = on or after T; ",T" = on or before T; "A,B" = between A and B inclusive. Format: YYYY-MM-DDTHH:MM:SS.MSZ. | |
| has_quantity_active | No | Restrict to products currently holding stock. |