# B2B Rules

## **What are B2B specific rules?** <a href="#what-are-b2b-specific-rules" id="what-are-b2b-specific-rules"></a>

The Shopware Rule Builder is a very powerful tool with which you can define many rules. The rules are linked to each customer and therefore the B2Bsellers Core plugin also offers B2B specific rules, which can then be used for various use cases.

**Example:**

For example, a rule recognizes a sales employee if he or she is logged in as a customer in the shop. This rule could be used, for example, in the B2B platform navigation to display the menu item "Customer-specific prices" only as a logged-in sales employee. (If a sales employee is logged in.)

## **The following B2B-specific rules exist:** <a href="#the-following-b2b-specific-rules-exist" id="the-following-b2b-specific-rules-exist"></a>

* Is a sales employee
* Is a sales employee with feature: Supervisor
* Is a business customer
* Is a logged-in user
* Sales employee is logged in as a user
* Is a logged-in user with admin rights
* Is a logged-in user without admin rights
* Is a logged-in user with \[select roles]

**Examples:**

<figure><img src="/files/y4ar6YypKGZaw5siqx2J" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.b2b-sellers.com/b2b-platform/user-documentation/using-b2bsellers-functionality-as-a-shop-admin/b2b-rules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
