u
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user