# Create discount in a push notification campaign

To apply a discount to your push notification campaign, you must select a discount you've already created in your Shopify admin.&#x20;

If no discounts have been created yet, head over to the "[Discounts](https://admin.shopify.com/store/discounts)" page in your Shopify Admin to set one up. For more details on [how to create discounts](https://help.shopify.com/en/manual/discounts/index), you can refer to Shopify's documentation.

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

1. Click "Choose a Discount" and then select the specific discount you wish to apply to your push notification campaign.

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

2. After selecting a discount, the code will automatically populate at the end of the URL field, as shown in the image. This ensures that the proper discount is linked to your campaign without requiring manual entry.

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


---

# 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://doc.uppush.io/uppush/web-push-campaign-and-segmentation/create-discount-in-a-push-notification-campaign.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.
