---
title: 'B2B REST API'
url: 'https://info.srv.kowal.co/docs/magento/modules/b2b/b2b-api'
markdown: 'https://info.srv.kowal.co/docs/magento/modules/b2b/b2b-api.md'
lang: en
date: '2026-11-30'
description: 'Find the Kowal B2B REST endpoints, grant an integration access to website settings and query product visibility or prices for a specific company.'
taxonomy:
  category:
    - docs
    - Magento
    - B2B
---

# B2B REST API

## Product page

[B2B Suite — kowal.co](https://kowal.co/professional-b2b-system-for-magento-2-open-source)

## Description

Read B2B website settings and work with company records through the versioned Magento REST routes under `/V1/kowal-b2b`.

## For whom

For integration developers connecting wholesale sales tools to Magento.

## Features

- Read website features and configuration.
- List companies in a website context.
- Query company-specific product visibility and pricing.

## Installation

This component is included in B2B Suite. Follow the [suite installation instructions](https://info.srv.kowal.co/docs/magento/modules/b2b).

## Configuration

1. For a website configuration check, grant the Magento integration the **B2B API Website Config** resource and use its configured authentication method.
2. Send **GET** to `/rest/default/V1/kowal-b2b/websites`, replacing `default` with the intended store code.
3. Use the returned website ID in `/rest/default/V1/kowal-b2b/websites/{websiteId}/features` to inspect that website’s features.

## Requirements / notes

The store code in the REST path and the numeric website ID identify different Magento scopes. Use the ID expected by each route.

## FAQ

**Why can the integration read website settings but not list companies?**

Company reads require the separate **B2B API Companies** resource. The company list also accepts the website context through the websiteId query parameter.

## Verify the installation

```sh
bin/magento module:status Kowal_B2BApi
```

Read the websites list with an authenticated GET, select a known wholesale website and compare its configuration response with the settings saved in Admin.

---

## Navigation

- Parent: [B2B Suite](https://info.srv.kowal.co/docs/magento/modules/b2b.md)
- Previous: [B2B Admin UI](https://info.srv.kowal.co/docs/magento/modules/b2b/b2b-admin-ui.md)
- Next: [B2B Import / Export](https://info.srv.kowal.co/docs/magento/modules/b2b/b2b-import-export.md)
