> For the complete documentation index, see [llms.txt](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/b2b-and-wholesale.md).

# B2B & Wholesale

The B2B & Wholesale module in our app is designed specifically for businesses that cater to wholesale customers. This module enables merchants to offer exclusive discounts on products to customers who register as Wholesalers within the app. We provide a comprehensive set of rules and conditions to ensure wholesalers receive discounts based on predefined pricing structures.

* With this module, merchants can manage wholesale pricing through various approaches, including Price Listing Rules, Detailed Pricing Rules, and Customer Group-based Pricing. This flexibility allows businesses to tailor discounts for different types of wholesale customers effectively. Additionally, we offer a Net Terms feature, enabling wholesalers to purchase products with deferred payment options.
* To enhance the wholesale experience, we also provide a Customer Portal on the store’s frontend. This portal allows wholesale customers to track their orders, view order details, and manage their purchases seamlessly. Overall, the B2B & Wholesale module simplifies wholesale management, helping businesses efficiently handle bulk pricing, customer segmentation, and order tracking for their wholesale buyers.

Let’s explore each functionality in details:


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://script-and-theory.gitbook.io/all-in-one-commerce-docs/b2b-and-wholesale.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
