# How It Works

The plugin interface includes the following main tabs:

* [**Dashboard**](https://docs.yaycommerce.com/yay-wholesale-b2b/how-it-works/dashboard): Provides an overview of wholesale performance, including the number of wholesalers, wholesale orders, revenue, and top wholesale customers and products.
* [**Request**](https://docs.yaycommerce.com/yay-wholesale-b2b/how-it-works/request): Displays all requests from customers who want to become wholesalers, allowing the admin to review and approve or reject them.
* [**Wholesalers**](https://docs.yaycommerce.com/yay-wholesale-b2b/how-it-works/wholesalers): Shows the list of approved wholesale customers and allows the admin to manage their information and roles.
* [**Roles**](https://docs.yaycommerce.com/yay-wholesale-b2b/how-it-works/roles): Allows the admin to create and manage wholesale roles with specific permissions or pricing rules.
* [**Settings**](https://docs.yaycommerce.com/yay-wholesale-b2b/how-it-works/settings): Contains general configuration options for how the wholesale system works on the store.


---

# 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.yaycommerce.com/yay-wholesale-b2b/how-it-works.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.
