> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/samita-wholesale-b2b/wholesale-pricing/how-to-apply-discount-to-manual-draft-order.md).

# How to apply discount to manual draft order?

Besides showing discounts automatically on the storefront, the app also lets you apply the discounted price when you create a draft order for a customer yourself — useful for phone or email orders you place on their behalf.

{% hint style="info" %}
This is the **Manual orders** feature, also listed under **Add-on Features**. It requires an upgraded plan — if you see "You need upgrade plan to use this feature" when applying the discount, upgrade your plan first.
{% endhint %}

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

## Steps to manage

{% stepper %}
{% step %}

### Set up a wholesale pricing rule

If you haven't already, [create a wholesale pricing](/samita-wholesale-b2b/wholesale-pricing/create-a-wholesale-pricing.md) rule first.
{% endstep %}

{% step %}

### Start a draft order in Shopify

Go to **Orders > Drafts** in Shopify, then click **Create order**.

<figure><img src="/files/eNMxalExfxQ31eLHGvJH" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Fill in the order

Choose the products, set the customer information, and fill in any other necessary details.

<figure><img src="/files/JuPxX0oaoIojer3AyBKu" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Save the draft order

Click **Save** to finish creating the order.

<figure><img src="/files/DOHIIA4RLJ7hRtAsGSbV" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Apply the wholesale discount

Open **More actions** and choose **Apply Wholesale Discounts**.

<figure><img src="/files/mcpfqpD9ppgZh8HJPCra" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Choose the market (if applicable)

If you've set up wholesale pricing for specific markets, choose the market the discounted price should come from.

<figure><img src="/files/8nU4Atgv6QTh9iRNW1TI" alt=""><figcaption></figcaption></figure>

If your rule applies to **all markets**, skip this and click **Preview** right away.

<figure><img src="/files/0MpMGe4RtPMcwQRat8wS" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Apply the discount

Click **Apply**.

<figure><img src="/files/v1RjE0kpYEig76CVgfX6" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Reload to see the changes

Reload the page to see the updated order.

<figure><img src="/files/SMLTJywFcH3bvi5NGElJ" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Done

The discount is applied automatically, and matching order tags are added to the draft order so you can track it easily.

<figure><img src="/files/cYn8RQZcxTJUTuPNE8QS" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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://docs.samita.io/samita-wholesale-b2b/wholesale-pricing/how-to-apply-discount-to-manual-draft-order.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.
