> 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?

Apply a customer's wholesale discount to a draft order you create manually from the Shopify admin.

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="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-92a0f1d24f9b1ec3db3f1646c8dcbbf4384f3c0c%2Fmanual-order-apply-wholesale-discount-modal.png?alt=media" 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="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-d4245e63a5b3bcf78094bb4d46f8ce53859e70fb%2Fimage%20(53).png?alt=media" 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="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-1765c50250a860a9fb9dea854f9cf3b64b09d195%2Fimage%20(54).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Save the draft order

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

<figure><img src="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-333e8bb22da7b07ef475d6055231ac1d85a4bf5d%2Fimage%20(55).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Apply the wholesale discount

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

<figure><img src="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-06534463504c2b2f36783ef3be7f04be8ac44472%2Fimage%20(56).png?alt=media" 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="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-5f9fde7d2aefe9ee2f5d515480114c72f300bdb6%2Fimage%20(59).png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-af905b933ee126fce24e94d18422f748192a383c%2Fimage%20(58).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Apply the discount

Click **Apply**.

<figure><img src="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-77018db8dd304905155b692040751b9ccee76c12%2Fimage%20(60).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Reload to see the changes

Reload the page to see the updated order.

<figure><img src="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-a70048da8ac90bf6d56355650be90a6879289576%2Fimage%20(61).png?alt=media" 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="https://1875078098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcI28ZFsoFjOa0T0AsCVi%2Fuploads%2Fgit-blob-60218bf442ed4d606b0d7006b154a0452d9b3cc5%2Fimage%20(62).png?alt=media" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.samita.io/samita-wholesale-b2b/wholesale-pricing/how-to-apply-discount-to-manual-draft-order.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
