> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

## GraphQL Storefront API: companyRoles filter renamed to searchTerm

The `filters` argument of `customer.activeCompany.companyRoles` now takes `searchTerm` instead of `search`, so it matches the `searchTerm` filter on `searchProducts`.

* **Renamed filter:** `CompanyRolesFiltersInput.search` is now `CompanyRolesFiltersInput.searchTerm`. It still takes a free-text term that narrows the list of roles.
* **Breaking change:** queries that send `filters: { search: ... }` fail validation. Replace `search` with `searchTerm`.
* **Scope:** only the `companyRoles` filter changes. `companyRoles` was introduced in the [October 28, 2026 Company user management entry](/developer/changelog/2026/10/28), and the other fields it announced are unchanged.

For details, see [List the assignable Company roles](/developer/docs/storefront/guides/graphql-storefront-api/b-2-b/company-users#list-the-assignable-company-roles).