> 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 Buyer Portal Updates

Updates the B2B Buyer Portal course to match a new release of its lab project, aligning the hands-on exercises in Modules 4 through 6 with the patterns the Buyer Portal itself uses.

* **Permission checks now read from the Redux store**, using the `rolePermissionSelector` selector with `useAppSelector` in place of the `validatePermissionWithComparisonType` utility. Because the value comes from global state, gated content re-renders when a user's permissions change.
* **In-app navigation now uses React Router's `useNavigate` hook**, replacing the `setOpenPage` prop. `setOpenPage` controls the portal shell's open and closed state rather than acting as a navigation API, and the lab components no longer thread it through as a prop.
* **GraphQL responses are typed with the `B3Request.graphqlB2B` type parameter** instead of `as` assertions. Response interfaces now describe the full `data` envelope, which the request layer unwraps before returning.
* **Expands the routing and querying lessons** to teach `useNavigate` and response typing directly, so the instructional content matches the lab code.
* **Updates the lab project** to a clean install of the Buyer Portal framework released on 2026-10-07.

For details, see the [B2B Buyer Portal course](/developer/learn/courses/b2b-buyer-portal/overview/course-overview).