The B2B-Suite is compatible with the Shopware 6 Store API.
Every request needs two headers:
sw-context-token: At first you'll need to authenticate as a customer by sending a
POSTrequest to the
/account/loginroute to obtain a context token.
sw-access-key: The access key for the Store API can be found in the administration, when you're editing a SalesChannel.
Please read the official Store API guide to learn more about the authentication.
The route pattern is basically the same as in the admin api, but without the identity identifier, because the identity is fetched from the context token.