commercetools / commercetools/nodejs
Fetched categories length different from commerce tools dasboard
Open
- Dominant language
- JavaScript
- Stars
- 77
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
Trying to get all existing categories with the following method:
```
async getAllCategories() {
try {
const response = await this.apiRoot
.withProjectKey({ projectKey: this.projectKey })
.categories()
.get()
.execute()
return response.body.results
} catch (e) {
console.log(e)
throw e
}
}
```
I'm getting 19 categories.
But in the admin dashboard i have 40 categories
Contributor guide
Assessment
This issue has not been assessed yet.