This commit is contained in:
seb
2026-09-27 16:19:45 +02:00
parent e7f92ebef8
commit cd57f21af8
25 changed files with 412 additions and 49 deletions

View File

@@ -156,13 +156,13 @@ Returns the articles belonging to a single category.
**Returns**
`Promise<Array<object>>` — The articles in the category.
`Promise<Array<{id: number, sku: string, name: string, slug: string, net: number|null, taxRate: number|null, optionsCount: number, articleListCount: number, childCount: number, fatherArticleId: number|null, fatherSku: string|null, fullHash: string|null, thumbW: number|null, thumbH: number|null, thumbHash: string|null, brand: {id: number|null, name: string, fullHash: string|null, thumbW: number|null, thumbH: number|null, thumbHash: string|null}|null}>>` — The articles in the category.
**Example**
```js
const articles = await store.category.getCategoryArticles(42, 5);
// => [{ id, sku, name, ... }]
// => [{ id, sku, name, brand, ... }]
```
## `category.getTreeForCompany`