# 🧾 Discount Code

The **Discount Code** module allows your customers to apply discount codes directly on their B2B orders — giving them the same familiar shopping experience they get from a retail store, while keeping full control over how discounts are applied in a wholesale environment.

With this module, you can enable the use of **Shopify’s native discount codes** in your B2B Solution checkout flow. That means any discount code you create in Shopify can be applied seamlessly during the order process.

This feature is perfect for running **promotions, loyalty rewards, or seasonal campaigns** tailored to your wholesale buyers.

***

#### 💡 What You Can Do with the Discount Code Module

* ✅ **Enable or disable discount code usage** on wholesale orders.
* ✅ **Apply existing Shopify discount codes** without extra configuration.
* ✅ **Restrict discounts** based on products, collections, customer groups, or order value.
* ✅ **Offer flexible deals** like percentage off, fixed amount off, or free shipping.
* ✅ **Combine with other B2B pricing rules** for complete control over order value.

***

#### ⚙️ Why It’s Useful

* 💬 **Enhance customer experience:** Let B2B customers enjoy promotions effortlessly.
* 🏷️ **Run wholesale campaigns:** Create targeted offers to boost loyalty and order frequency.
* ⚖️ **Maintain pricing integrity:** Manage which discounts apply to specific B2B buyers or groups.
* 🚀 **Encourage larger purchases:** Incentivize higher order values through strategic discounts.

***

The **Discount Code** module makes it easy to combine **wholesale flexibility with promotional power**, giving you a simple yet effective way to reward your B2B customers and grow long-term relationships.

{% content-ref url="/pages/VF90Auxkh7owzoDOqGN9" %}
[🎟️ Set Discount Codes on Your Orders](/b2b-wholesale-solution/other-b2b-modules/discount-code/set-discount-codes-on-your-orders.md)
{% endcontent-ref %}


---

# 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-shpf.bsscommerce.com/b2b-wholesale-solution/other-b2b-modules/discount-code.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.
