> 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.

## B2B sales rep company authorization

Storefront sales reps (Super Admins) can now only access companies they are **directly** assigned to. Assignments do not traverse the Account Hierarchy — assigning a sales rep to a parent Company does not grant access to its subsidiaries.

* **Scoped access** — the storefront Companies and Users API enforces sales rep–to–company assignment on requests targeting a specific `companyId`
* **Unassigned company** — returns `403 Permission denied`; a non-integer `companyId` returns `400 Invalid companyId`
* **Assigning companies** — use the [Server-to-Server Super Admin API](/developer/api-reference/rest/b2b/management/super-admin) to assign a sales rep to each Company they need to act on, including subsidiaries

For details, see the [Super Admin overview](/developer/api-reference/rest/b2b/storefront/sales-rep).