# New query params for the "Search categories" call

#### What's new

New query params for the Search categories API call allow setting up multiple "parent" category IDs for the search and include subcategories of subcategories in the results.&#x20;

This change makes it easier to work with categories in stores with a complex category structure.

#### Changes in API

New query params available for the Search categories call: `parentIds` (string of comma-separated category IDs) and `withSubcategories` (boolean).

#### Documentation links

{% content-ref url="/spaces/G9n5VxMY9T0Ob3D56PSD/pages/pxYwNnhOzc4I9EOgld2s" %}
[Search categories](/api-reference/rest-api/categories/search-categories.md)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ecwid.com/changelog/march-2025/march-17/new-query-params-for-the-search-categories-call.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
