# How to Create a Shipping Discount Function in Nexus?⚡

Follow these steps to **create and publish** a **Shipping Discount function:**

### **Step 1: Start Function Creation**

* Click on **Create Function** from your **Nexus dashboard.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdShkcyeGaOCcZT3nr9zjc-xH9ThRe-iBYZwVSkmX36vrLVkca-_kczWTZuq4FmwqnSaBc_9knkaGrWQQN0WltJUnkIIs3nAFRX7SfzkSgDzHnd9OZviw6WHxrleKv9DijJ1Rp07g?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

* Select **Discount Functions** from the list of available **function types.**

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfTJk7wfj-RGiSo587RK6AHowLrw1CzGxpNiIGk15cu5gSmFJP1xMJGJvS4XHftsZLEylo5X_VfeydWvV3L9YbuEKdlkjQ2va4TfbvPSlmNpxNfEQUpsvB0Fw81mWjG6LvEzwGyng?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

### **Step 2: Select Discount Type**

* Click on **Free Shipping Order** to proceed.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXf33RgQqCNgCT-gLovJALn_FQmzBj00zvdLHLjHXVpfHskfVAz5n5FdQ9z0lHudCe6SgDtMNUCw4wy4GEx1rTTLlwdRyTuKHGdKs9VvVErVq9OWMJoTW7TkuPoMtp-tljNSqcjlAg?key=XHBNr_XRasDLQzq5MfrM2Q" alt=""><figcaption></figcaption></figure>

👉 The **remaining steps** are the same as those outlined for the **Product Discount Function.** [**Click here**](/nexus-functions-creator-and-discounts/nexus-functions-creator-and-discounts/how-to-create-a-product-discount-function-in-nexus.md) for more information. 🔍📘

<br>

{% embed url="<https://www.youtube.com/watch?t=14s&v=dtnzbm5yDXM>" %}

<br>


---

# 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://nexus-functions-creator-and-disc.gitbook.io/nexus-functions-creator-and-discounts/nexus-functions-creator-and-discounts/how-to-create-a-shipping-discount-function-in-nexus.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.
